fix: Extra active outline around editor toolbar buttons

This commit is contained in:
Tom Moor
2020-07-20 19:37:50 -07:00
parent 822395c265
commit a97a1df5f1

View File

@@ -110,10 +110,14 @@ const StyledEditor = styled(RichMarkdownEditor)`
const EditorTooltip = ({ children, ...props }) => (
<Tooltip offset="0, 16" delay={150} {...props}>
<span>{children}</span>
<Span>{children}</Span>
</Tooltip>
);
const Span = styled.span`
outline: none;
`;
const EditorWithRouterAndTheme = withRouter(withTheme(Editor));
export default React.forwardRef((props, ref) => (