aboutsummaryrefslogtreecommitdiff
path: root/less/input-groups.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-03-08 20:34:29 -0800
committerMark Otto <[email protected]>2014-03-08 20:34:29 -0800
commitef5d8e98e2e9aa87496eef8359667f7e052ae636 (patch)
tree0d202235247562f094df841960170b1245ea728b /less/input-groups.less
parentdc5917bedfda321b72310209d2807ea10347f7ed (diff)
parente4d13e238d0d6ea241f4e77328f6551206d17362 (diff)
downloadbootstrap-ef5d8e98e2e9aa87496eef8359667f7e052ae636.tar.xz
bootstrap-ef5d8e98e2e9aa87496eef8359667f7e052ae636.zip
Merge branch 'master' into sr-only-focusable
Conflicts: dist/css/bootstrap.css
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 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