From: Mark Otto Date: Sun, 12 Feb 2012 04:00:44 +0000 (-0800) Subject: reset line-height for file input in ie9 X-Git-Tag: v2.0.1~1^2~17^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=158419c0455ea499197f8b7917bdfe299caaac19;p=thirdparty%2Fbootstrap.git reset line-height for file input in ie9 --- diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 4bad32b3e4..48e48f5029 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 407ded7756..13af821b48 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -603,6 +603,9 @@ select, input[type="file"] { line-height: 28px; } +input[type="file"] { + line-height: 18px \9; +} select { width: 220px; background-color: #ffffff; diff --git a/less/forms.less b/less/forms.less index f262af0dbf..7f076aca37 100644 --- a/less/forms.less +++ b/less/forms.less @@ -122,6 +122,11 @@ input[type="file"] { line-height: 28px; } +// Reset line-height for IE +input[type="file"] { + line-height: 18px \9; +} + // Chrome on Linux and Mobile Safari need background-color select { width: 220px; // default input width + 10px of padding that doesn't get applied