Skip to content

Commit ba1745e

Browse files
committed
(less) Fixes twbs#13079: Scope .open class in button variant mixin to immediate children
1 parent b50f958 commit ba1745e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mixins/buttons.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
&:focus,
1313
&:active,
1414
&.active,
15-
.open .dropdown-toggle& {
15+
.open > .dropdown-toggle& {
1616
color: @color;
1717
background-color: darken(@background, 10%);
1818
border-color: darken(@border, 12%);
1919
}
2020
&:active,
2121
&.active,
22-
.open .dropdown-toggle& {
22+
.open > .dropdown-toggle& {
2323
background-image: none;
2424
}
2525
&.disabled,

0 commit comments

Comments
 (0)