mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-15 10:00:58 +00:00
Merge pull request #18265 from twbs/fix-v4-17007
Bring focused input group controls to front via z-index:3
This commit is contained in:
commit
94d7a8f4ef
1 changed files with 9 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue