]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
reset line-height for file input in ie9
authorMark Otto <markotto@twitter.com>
Sun, 12 Feb 2012 04:00:44 +0000 (20:00 -0800)
committerMark Otto <markotto@twitter.com>
Sun, 12 Feb 2012 04:00:44 +0000 (20:00 -0800)
docs/assets/bootstrap.zip
docs/assets/css/bootstrap.css
less/forms.less

index 4bad32b3e4e4fe76e201c77d9fb7d940c30fa40b..48e48f5029a9194510c5b78348741db4cbf96f33 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index 407ded7756df14ce99f6f2f600b819841736731a..13af821b482140a74b042039ec3a0226ed26e20c 100644 (file)
@@ -603,6 +603,9 @@ select, input[type="file"] {
 
   line-height: 28px;
 }
+input[type="file"] {
+  line-height: 18px \9;
+}
 select {
   width: 220px;
   background-color: #ffffff;
index f262af0dbfa7657def34b4d50525ae5996bc560f..7f076aca37468f475337949f4a7adf3420db09c6 100644 (file)
@@ -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