Skip to content

Commit

Permalink
fix focus-visible styles in safari
Browse files Browse the repository at this point in the history
  • Loading branch information
davatron5000 committed Jun 19, 2024
1 parent 951b615 commit 49e9093
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/web-components/src/menu-item/menu-item.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
colorNeutralForeground2Pressed,
colorNeutralForeground3,
colorNeutralForegroundDisabled,
colorStrokeFocus2,
fontFamilyBase,
fontSizeBase200,
fontSizeBase300,
Expand Down Expand Up @@ -48,6 +49,11 @@ export const styles = css`
background: ${colorNeutralBackground1Hover};
}
:host(:focus-visible) {
border-radius: ${borderRadiusMedium};
outline: 2px solid ${colorStrokeFocus2};
}
.indicator {
width: 20px;
}
Expand Down

0 comments on commit 49e9093

Please sign in to comment.