aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-02-11 20:00:44 -0800
committerMark Otto <[email protected]>2012-02-11 20:00:44 -0800
commit158419c0455ea499197f8b7917bdfe299caaac19 (patch)
treef2c91e7db42f9bcab6446f1cccc6446da0ba0fff
parent5bb55e46157ec974120535acdb6335841c85fa37 (diff)
downloadbootstrap-158419c0455ea499197f8b7917bdfe299caaac19.tar.xz
bootstrap-158419c0455ea499197f8b7917bdfe299caaac19.zip
reset line-height for file input in ie9
-rw-r--r--docs/assets/bootstrap.zipbin52693 -> 52705 bytes
-rw-r--r--docs/assets/css/bootstrap.css3
-rw-r--r--less/forms.less5
3 files changed, 8 insertions, 0 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index 4bad32b3e..48e48f502 100644
--- a/docs/assets/bootstrap.zip
+++ b/docs/assets/bootstrap.zip
Binary files differ
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index 407ded775..13af821b4 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 f262af0db..7f076aca3 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