Skip to content

Commit 0e25dc6

Browse files
committedAug 31, 2018
Fix: Add custom focus outline for <summary> element
1 parent 11f7fcf commit 0e25dc6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎src/rsg-components/Markdown/Details/DetailsSummaryRenderer.js

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ const styles = ({ space, color, fontSize, fontFamily }) => ({
99
fontSize: fontSize.base,
1010
color: color.base,
1111
cursor: 'pointer',
12+
'&:focus': {
13+
isolate: false,
14+
outline: [[1, 'dotted', color.linkHover]],
15+
outlineOffset: 2,
16+
},
1217
},
1318
});
1419

0 commit comments

Comments
 (0)
Please sign in to comment.