aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-11-15 14:09:12 -0800
committerChris Rebert <[email protected]>2015-11-15 14:20:44 -0800
commit1e6f23ce922b0310bda5a4a9cf9ebd4ae6881f0c (patch)
tree501436c6d8e742dd1726ca27c8f2511b5810a063
parent01a44bfa938b8108a77831f8157c5181808a7729 (diff)
downloadbootstrap-1e6f23ce922b0310bda5a4a9cf9ebd4ae6881f0c.tar.xz
bootstrap-1e6f23ce922b0310bda5a4a9cf9ebd4ae6881f0c.zip
Fix #17001 in v4
Refs #18253 [skip sauce]
-rw-r--r--scss/_input-group.scss10
1 files changed, 9 insertions, 1 deletions
diff --git a/scss/_input-group.scss b/scss/_input-group.scss
index 3b4ef632c..ad09d28a8 100644
--- a/scss/_input-group.scss
+++ b/scss/_input-group.scss
@@ -19,6 +19,10 @@
// proper border colors.
position: relative;
z-index: 2;
+ // Bring the "active" form control to the front
+ @include hover-focus-active {
+ z-index: 3;
+ }
@if $enable-flex {
flex: 1;
} @else {
@@ -160,7 +164,7 @@
}
// Bring the "active" button to the front
@include hover-focus-active {
- z-index: 2;
+ z-index: 3;
}
}
@@ -176,6 +180,10 @@
> .btn-group {
z-index: 2;
margin-left: -1px;
+ // Because specificity
+ @include hover-focus-active {
+ z-index: 3;
+ }
}
}
}