mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
Fixes #11659, #12698, and #12349: Always apply position and z-index form controls in input groups for proper borders
This commit is contained in:
parent
24bf439880
commit
eb20d6f132
2
dist/css/bootstrap.css
vendored
2
dist/css/bootstrap.css
vendored
@ -3304,6 +3304,8 @@ input[type="button"].btn-block {
|
|||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
.input-group .form-control {
|
.input-group .form-control {
|
||||||
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
float: left;
|
float: left;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
8
docs/assets/js/customize.min.js
vendored
8
docs/assets/js/customize.min.js
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/css/bootstrap.css.map
vendored
2
docs/dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
2
docs/dist/css/bootstrap.min.css
vendored
2
docs/dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -17,6 +17,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.form-control {
|
.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
|
// 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:
|
// select elements in input groups. To fix it, we float the input. Details:
|
||||||
// https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
|
// https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
|
||||||
|
Loading…
x
Reference in New Issue
Block a user