Commit eb20d6f1 authored by Mark Otto's avatar Mark Otto
Browse files

Fixes #11659, #12698, and #12349: Always apply position and z-index form...

Fixes #11659, #12698, and #12349: Always apply position and z-index form controls in input groups for proper borders
parent 24bf4398
3 merge requests!28721Hot test,!22103test,!25326Adjust examples
Showing with 16 additions and 3 deletions
+16 -3
......@@ -3304,6 +3304,8 @@ input[type="button"].btn-block {
padding-left: 0;
}
.input-group .form-control {
position: relative;
z-index: 2;
float: left;
width: 100%;
margin-bottom: 0;
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
......@@ -17,6 +17,11 @@
}
.form-control {
// Ensure that the input is always above the *appended* addon button for
// proper border colors.
position: relative;
z-index: 2;
// 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
......
Supports Markdown
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