aboutsummaryrefslogtreecommitdiff
path: root/less/input-groups.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-03-07 01:30:28 -0800
committerMark Otto <[email protected]>2014-03-07 01:30:28 -0800
commit0143e38a672335b7ca2d73d0de5b2a2b4618f9e9 (patch)
tree7188809b7c2194fc0aca9a65b7d07725ee4206d5 /less/input-groups.less
parent642fd5100293755a6003448d4a481f3b314edf15 (diff)
parent1f148427de6d35a06e225deeee0b162b11955232 (diff)
downloadbootstrap-0143e38a672335b7ca2d73d0de5b2a2b4618f9e9.tar.xz
bootstrap-0143e38a672335b7ca2d73d0de5b2a2b4618f9e9.zip
Merge branch 'master' into document_popover_focus
Conflicts: docs/assets/js/docs.min.js
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