aboutsummaryrefslogtreecommitdiff
path: root/less/input-groups.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-12-14 20:04:12 -0800
committerMark Otto <[email protected]>2013-12-14 20:04:12 -0800
commit432b9f9cde8e2b067fd54ed148c5f8df510e30c5 (patch)
tree479173009e357710ce0ef3dbb1075920d69be24c /less/input-groups.less
parent4da03c83c5f850afc3211438227ba16d34c580e1 (diff)
downloadbootstrap-432b9f9cde8e2b067fd54ed148c5f8df510e30c5.tar.xz
bootstrap-432b9f9cde8e2b067fd54ed148c5f8df510e30c5.zip
Fixes #11561: Add float: left; to .form-control within input groups to prevent IE9 from screwing up placeholder text and select menu arrows
Diffstat (limited to 'less/input-groups.less')
-rw-r--r--less/input-groups.less5
1 files changed, 5 insertions, 0 deletions
diff --git a/less/input-groups.less b/less/input-groups.less
index 0eb9a6fc4..39f705ad3 100644
--- a/less/input-groups.less
+++ b/less/input-groups.less
@@ -17,6 +17,11 @@
}
.form-control {
+ // IE9 fubars the placeholder attribute in text inputs and the arrows on
+ // select elements in input groups. To fix it, we float the input. Details:
+ // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
+ float: left;
+
width: 100%;
margin-bottom: 0;
}