diff options
| author | Mark Otto <[email protected]> | 2014-02-11 14:20:01 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-02-11 14:20:01 -0800 |
| commit | eb20d6f13244052f7794825531c9ee7e76430559 (patch) | |
| tree | bd899da20ea8f7f7d5d51d24899a1585caf0cb62 /less/input-groups.less | |
| parent | 24bf4398802098097875a11f69dfd750a0550c87 (diff) | |
| download | bootstrap-eb20d6f13244052f7794825531c9ee7e76430559.tar.xz bootstrap-eb20d6f13244052f7794825531c9ee7e76430559.zip | |
Fixes #11659, #12698, and #12349: Always apply position and z-index form controls in input groups for proper borders
Diffstat (limited to 'less/input-groups.less')
| -rw-r--r-- | less/input-groups.less | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/less/input-groups.less b/less/input-groups.less index b486cf4d2..a11147463 100644 --- a/less/input-groups.less +++ b/less/input-groups.less @@ -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 |
