Skip to content

Commit d912341

Browse files
committed
fix(ui): invert color of header option menu button
Update to @carbon/react breaks the 'iconClass' attribute. Use a direct CSS selector instead.
1 parent b3bea7d commit d912341

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ui/src/components/options-menu/OptionsMenu.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const OptionsMenu = () => {
77
return (
88
<OverflowMenu
99
className="options-menu"
10-
iconClass="options-menu-icon"
1110
aria-label="options-menu"
1211
iconDescription="options"
1312
align="bottom-end"

ui/src/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
background-color: themes.$background-inverse-hover;
4444
}
4545

46-
.options-menu-icon {
46+
.options-menu > svg {
4747
fill: themes.$icon-inverse;
4848
}
4949
}

0 commit comments

Comments
 (0)