aboutsummaryrefslogtreecommitdiff
path: root/css.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-07-20 21:09:03 -0700
committerMark Otto <[email protected]>2013-07-20 21:09:03 -0700
commita63db4d2f91c056310fc9a24891dbd161672451b (patch)
treef5f41e368b3522d1c170b8d3d067c013d9eb0f39 /css.html
parentdf851b40d1accb1c6db44ac77a28c2e76273581b (diff)
downloadbootstrap-a63db4d2f91c056310fc9a24891dbd161672451b.tar.xz
bootstrap-a63db4d2f91c056310fc9a24891dbd161672451b.zip
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.
Diffstat (limited to 'css.html')
-rw-r--r--css.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/css.html b/css.html
index 2df915012..1b767eed6 100644
--- a/css.html
+++ b/css.html
@@ -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>