diff --git a/shared/editor/components/Styles.ts b/shared/editor/components/Styles.ts index 35a9540b8c..564092103f 100644 --- a/shared/editor/components/Styles.ts +++ b/shared/editor/components/Styles.ts @@ -79,6 +79,12 @@ const mathStyle = (props: Props) => css` display: none; color: ${props.theme.codeStatement}; tab-size: 4; + + .ProseMirror-focused { + border-radius: 2px; + outline: 2px solid + ${props.readOnly ? "transparent" : props.theme.selected}; + } } .math-node.ProseMirror-selectednode .math-src {