1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 00:29:52 +02:00

Update file input to remove height and line-height

This particular form control is wildly inaccurate across browsers, so
we're removing the `height` and `line-height`, but adding `display:
block` so it renders similarly to our other inputs.
This commit is contained in:
Mark Otto
2013-07-20 21:09:03 -07:00
parent df851b40d1
commit a63db4d2f9
4 changed files with 5 additions and 7 deletions

View File

@@ -1170,6 +1170,8 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
<input type="text" id="exampleInputEmail" placeholder="Enter email">
<label for="exampleInputPassword">Password</label>
<input type="text" id="exampleInputPassword" placeholder="Password">
<label for="exampleInputFile">File input</label>
<input type="file" id="exampleInputFile">
<p class="help-block">Example block-level help text here.</p>
<div class="checkbox">
<label>