Skip to content

Commit

Permalink
vrt
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank committed Dec 11, 2024
1 parent 27e886d commit 3dbafc9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions packages/react/src/ActionList/ActionList.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@

&:focus-visible {
@mixin focusOutline 0;

& .ActionListSubContent::before,
& + .ActionListItem .ActionListSubContent::before {
visibility: hidden;
}
}

/* danger */
Expand Down Expand Up @@ -390,6 +395,11 @@
}
}

/* hide by default to support inactive state where role cannot be menuitemradio or menuitemcheckbox */
.SingleSelectCheckmark {
visibility: hidden;
}

/* button or a tag */

/* [ [spacer] [leadingAction] [leadingVisual] [content] ] */
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/ActionList/Selection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const Selection: React.FC<React.PropsWithChildren<SelectionProps>> = ({se
<LeadingVisualContainer data-component="ActionList.Selection" sx={{minWidth: '16px'}}>
<Box
sx={{
borderColor: selected ? 'var(--control-checked-borderColor-rest)' : 'neutral.emphasis',
borderColor: selected ? 'var(--control-checked-borderColor-rest)' : 'var(--control-borderColor-rest)',
borderStyle: 'solid',
borderWidth: '1',
borderRadius: '1',
Expand Down

0 comments on commit 3dbafc9

Please sign in to comment.