Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring focused input group controls to front via z-index:3 #18265

Merged
merged 1 commit into from
Nov 30, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion scss/_input-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -160,7 +164,7 @@
}
// Bring the "active" button to the front
@include hover-focus-active {
z-index: 2;
z-index: 3;
}
}

Expand All @@ -176,6 +180,10 @@
> .btn-group {
z-index: 2;
margin-left: -1px;
// Because specificity
@include hover-focus-active {
z-index: 3;
}
}
}
}