Skip to content

Commit 03e9d7f

Browse files
authored
fix(menu): colored active items were not displayed colored
Colored active items in colored menus were not displayed colored because of too low specificity
1 parent 2538a8e commit 03e9d7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/definitions/collections/menu.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1343,7 +1343,7 @@ each(@colors, {
13431343
@c: @colors[@@color][color];
13441344

13451345
& when not (@color=secondary) {
1346-
.ui.ui.menu .@{color}.active.item,
1346+
.ui.ui.ui.menu .@{color}.active.item,
13471347
.ui.ui.@{color}.menu .active.item:hover,
13481348
.ui.ui.@{color}.menu .active.item {
13491349
& when not (@secondaryPointingActiveBorderColor = currentColor) {
@@ -1485,7 +1485,7 @@ each(@colors, {
14851485
@h: @colors[@@color][hover];
14861486

14871487
& when not (@color=secondary) {
1488-
.ui.ui.inverted.menu .@{color}.active.item,
1488+
.ui.ui.ui.inverted.menu .@{color}.active.item,
14891489
.ui.ui.inverted.@{color}.menu {
14901490
background-color: @c;
14911491
}

0 commit comments

Comments
 (0)