Skip to content

Commit

Permalink
Fix: Add custom focus outline for <summary> element
Browse files Browse the repository at this point in the history
  • Loading branch information
sapegin committed Aug 31, 2018
1 parent 11f7fcf commit 0e25dc6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/rsg-components/Markdown/Details/DetailsSummaryRenderer.js
Expand Up @@ -9,6 +9,11 @@ const styles = ({ space, color, fontSize, fontFamily }) => ({
fontSize: fontSize.base,
color: color.base,
cursor: 'pointer',
'&:focus': {
isolate: false,
outline: [[1, 'dotted', color.linkHover]],
outlineOffset: 2,
},
},
});

Expand Down

0 comments on commit 0e25dc6

Please sign in to comment.