aboutsummaryrefslogtreecommitdiff
path: root/less/input-groups.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-03-06 22:40:25 -0800
committerMark Otto <[email protected]>2014-03-06 22:40:25 -0800
commit12c619f5b9149a4d3f4d24efe106504b6a8a5004 (patch)
treedacdd064110d04b8195151c08ef4e5713ba3ea24 /less/input-groups.less
parentf4dd6221d4e7a8eaa9cd8ebe0457ad016f5058cc (diff)
parent7e299c6a49bced5d2c2581a5504ddf7dbcaf041f (diff)
downloadbootstrap-12c619f5b9149a4d3f4d24efe106504b6a8a5004.tar.xz
bootstrap-12c619f5b9149a4d3f4d24efe106504b6a8a5004.zip
Merge branch 'master' into boulox-responsive-embed
Conflicts: dist/css/bootstrap.css.map dist/css/bootstrap.min.css docs/assets/js/customize.min.js docs/assets/js/docs.min.js docs/css.html docs/dist/css/bootstrap.css.map docs/dist/css/bootstrap.min.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