mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-30 08:39:56 +02:00
<input>
and <select>
sizing update
Restores `font-size` and more to the `<select>` element while also changing from `min-height` to `height` for input sizing. Fixes #8520 as opened by @ShaunR (would've merged that PR but I moved everything around right before).
This commit is contained in:
14
css.html
14
css.html
@@ -1772,12 +1772,26 @@ For example, <code><section></code> should be wrapped as inline.
|
||||
<input class="input-large" type="text" placeholder=".input-large">
|
||||
<input type="text" placeholder="Default input">
|
||||
<input class="input-small" type="text" placeholder=".input-small">
|
||||
|
||||
<select class="input-large">
|
||||
<option value="">.input-large</option>
|
||||
</select>
|
||||
<select>
|
||||
<option value="">Default select</option>
|
||||
</select>
|
||||
<select class="input-small">
|
||||
<option value="">.input-small</option>
|
||||
</select>
|
||||
</div>
|
||||
</form>
|
||||
{% highlight html %}
|
||||
<input class="input-large" type="text" placeholder=".input-large">
|
||||
<input type="text" placeholder="Default input">
|
||||
<input class="input-small" type="text" placeholder=".input-small">
|
||||
|
||||
<select class="input-large">...</select>
|
||||
<select>...</select>
|
||||
<select class="input-small">...</select>
|
||||
{% endhighlight %}
|
||||
|
||||
<h4>Column sizing</h4>
|
||||
|
Reference in New Issue
Block a user