Skip to content

Commit

Permalink
fixes #8805: ensure .active buttons in button groups behave like :act…
Browse files Browse the repository at this point in the history
…ive buttons
  • Loading branch information
mdo committed Aug 5, 2013
1 parent f62ea2a commit d95ff9d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion dist/css/bootstrap.css
Expand Up @@ -3130,7 +3130,9 @@ button.close {
.btn-group > .btn:focus,
.btn-group-vertical > .btn:focus,
.btn-group > .btn:active,
.btn-group-vertical > .btn:active {
.btn-group-vertical > .btn:active,
.btn-group > .btn.active,
.btn-group-vertical > .btn.active {
z-index: 2;
}

Expand Down
2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion less/button-groups.less
Expand Up @@ -22,7 +22,8 @@
// Bring the "active" button to the front
&:hover,
&:focus,
&:active {
&:active,
&.active {
z-index: 2;
}
}
Expand Down

0 comments on commit d95ff9d

Please sign in to comment.