mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-10 04:52:42 +01:00
Fixed adding of existing series, whoops.
Buttons do not have a height globally assigned anymore (no more CSS tweaking all over the place), this means they are larger than textboxes and selects, but it looks good.
This commit is contained in:
parent
d2779d2cdf
commit
def86f90f5
@ -180,18 +180,30 @@ input[type=text], select
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
select, button, input[type="button"], input[type="submit"], input[type="reset"]
|
||||
select
|
||||
{
|
||||
height: 26px;
|
||||
min-width: 50px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
/*This allows us to override center the text on the jQuery UI Buttons when we set the height above*/
|
||||
button, input[type="button"], input[type="submit"], input[type="reset"]
|
||||
{
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
/*select, button, input[type="button"], input[type="submit"], input[type="reset"]
|
||||
{
|
||||
height: 26px;
|
||||
min-width: 50px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
/*This allows us to override center the text on the jQuery UI Buttons when we set the height above*
|
||||
button span, input[type="button"] span, input[type="submit"] span, input[type="reset"] span
|
||||
{
|
||||
margin-top: -3px;
|
||||
}
|
||||
}*/
|
||||
|
||||
.listButton
|
||||
{
|
||||
|
@ -29,6 +29,11 @@
|
||||
{
|
||||
display: block;
|
||||
}
|
||||
|
||||
.existingSeriesContainer
|
||||
{
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
|
||||
@if (Model.ExistingSeries.Count == 0)
|
||||
@ -55,12 +60,12 @@ else
|
||||
<span class="seriesPathValue">
|
||||
@Html.Label(series.Item1)
|
||||
</span>
|
||||
<div>
|
||||
<input class="seriesLookup" type="text" style="width: 400px" value="@series.Item2" />
|
||||
<div class="existingSeriesContainer">
|
||||
<input class="seriesLookup" type="text" style="width: 400px;" value="@series.Item2" />
|
||||
@Html.Hidden("seriesId", series.Item3, new { @class = "seriesId" })
|
||||
@Html.DropDownList(Guid.NewGuid().ToString(), Model.Quality, new { @class = "qualitySelector" })
|
||||
|
||||
<button>Add</button>
|
||||
<button class="addExistingButton">Add</button>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
@ -1,13 +1,4 @@
|
||||
<style>
|
||||
#saveDir
|
||||
{
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
|
||||
#saveDir span
|
||||
{
|
||||
margin-top: -2px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<span>
|
||||
|
Loading…
Reference in New Issue
Block a user