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:
Mark McDowall
2011-12-06 17:21:32 -08:00
parent d2779d2cdf
commit def86f90f5
3 changed files with 23 additions and 15 deletions
@@ -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>
}