Skip to content

Commit

Permalink
Alternative styling for submenu triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Apr 4, 2023
1 parent 878bcfa commit 6ff0d65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/ui/radix-dropdown/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ export const RadioItem = styled( DropdownMenu.RadioItem )`
${ itemLeftSpace }
`;
export const SubTrigger = styled( DropdownMenu.SubTrigger )`
&[data-state='open'] {
color: ${ COLORS.ui.theme };
&[data-state='open']:not( [data-highlighted] ) {
background-color: ${ COLORS.ui.backgroundDisabled };
}
${ baseItem }
Expand Down

0 comments on commit 6ff0d65

Please sign in to comment.