Commit 432b9f9c authored by Mark Otto's avatar Mark Otto

Fixes #11561: Add float: left; to .form-control within input groups to prevent...

Fixes #11561: Add float: left; to .form-control within input groups to prevent IE9 from screwing up placeholder text and select menu arrows
parent 4da03c83
...@@ -3208,6 +3208,7 @@ input[type="button"].btn-block { ...@@ -3208,6 +3208,7 @@ input[type="button"].btn-block {
padding-left: 0; padding-left: 0;
} }
.input-group .form-control { .input-group .form-control {
float: left;
width: 100%; width: 100%;
margin-bottom: 0; margin-bottom: 0;
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -17,6 +17,11 @@ ...@@ -17,6 +17,11 @@
} }
.form-control { .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%; width: 100%;
margin-bottom: 0; margin-bottom: 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment