From a63db4d2f91c056310fc9a24891dbd161672451b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 20 Jul 2013 21:09:03 -0700 Subject: 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. --- dist/css/bootstrap.css | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'dist/css/bootstrap.css') diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index eaa17105c..6946ab2ec 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -1474,10 +1474,7 @@ input[type="checkbox"] { } input[type="file"] { - height: 38px; - /* In IE7, the height of the select element cannot be changed by height, only font-size. TODO: Check if this is still needed when dropping IE7 support */ - - line-height: 38px; + display: block; } select[multiple], -- cgit v1.2.3