Skip to content

Commit

Permalink
[EuiContextMenuItem] Fix underline styling on hover for non-links
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Jan 22, 2024
1 parent 435b0e4 commit b5a2a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/context_menu/context_menu_item.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const euiContextMenuItemStyles = (euiThemeContext: UseEuiTheme) => {
color: ${euiTheme.colors.text};
outline-offset: -${euiTheme.focus.width};
&:not(:disabled) {
&:where(a, button):not(:disabled) {
&:hover,
&:focus {
text-decoration: underline;
Expand Down

0 comments on commit b5a2a29

Please sign in to comment.