Skip to content

Commit c2f83d3

Browse files
committed
[Fix Accessibility] Remove outlineOffset from focus-visible styles in ClipboardCopy component
1 parent 2939221 commit c2f83d3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/mdx/code.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ const ClipboardCopy = ({value, ...props}) => {
3535
...props.sx,
3636
'&:focus-visible': {
3737
outline: '2px solid',
38-
outlineColor: '-webkit-focus-ring-color',
39-
outlineOffset: '2px',
38+
outlineColor: '-webkit-focus-ring-color'
4039
},
4140
}}
4241
>

0 commit comments

Comments
 (0)