Skip to content

Commit bbaf625

Browse files
authored
Fix button hover border (#30048)
Fix regression from #30014. The rule was to broad and affecting things like `primary` button unintentionally.
1 parent 475b6e8 commit bbaf625

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

web_src/css/modules/button.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
.ui.button:hover {
1212
background: var(--color-hover);
1313
color: var(--color-text);
14-
border-color: var(--color-secondary-dark-2);
1514
}
1615

1716
.page-content .ui.button {
@@ -62,6 +61,10 @@ It needs some tricks to tweak the left/right borders with active state */
6261
border-right: none;
6362
}
6463

64+
.ui.buttons .button:hover {
65+
border-color: var(--color-secondary-dark-2);
66+
}
67+
6568
.ui.buttons .button:hover + .button {
6669
border-left: 1px solid var(--color-secondary-dark-2);
6770
}

0 commit comments

Comments
 (0)