We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Menu
1 parent a913663 commit 7a28289Copy full SHA for 7a28289
packages/dropdowns/src/views/menu/StyledItemAnchor.ts
@@ -12,6 +12,9 @@ import { StyledOption } from '../combobox/StyledOption';
12
13
const COMPONENT_ID = 'dropdowns.menu.item_anchor';
14
15
+/*
16
+ * 1. Ensure hover styling doesn't leak through
17
+ */
18
export const StyledItemAnchor = styled(StyledOption).attrs({
19
'data-garden-id': COMPONENT_ID,
20
'data-garden-version': PACKAGE_VERSION,
@@ -20,6 +23,10 @@ export const StyledItemAnchor = styled(StyledOption).attrs({
23
text-decoration: none;
21
24
color: unset;
22
25
26
+ &&:hover {
27
+ text-decoration: none; /* [1] */
28
+ }
29
+
30
&[aria-current='page'] > ${StyledItemTypeIcon} {
31
opacity: 1;
32
}
0 commit comments