Skip to content

Commit bdeefd3

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
fix(ui): show keyboard focus on field disclosures
1 parent 63b223a commit bdeefd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/emcn/src/components/field-divider/field-divider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function FieldDisclosure({ expanded, children, ...props }: FieldDisclosureProps)
8080
variant='ghost'
8181
size={null}
8282
aria-expanded={expanded}
83-
className='gap-1.5 whitespace-nowrap p-0 text-small'
83+
className='gap-1.5 whitespace-nowrap p-0 text-small focus-visible:ring-2 focus-visible:ring-[color-mix(in_srgb,var(--text-muted)_30%,transparent)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--surface-2)]'
8484
>
8585
{children}
8686
<ChevronDown

0 commit comments

Comments
 (0)