Browse Source

Fix focused expression input outline styling (#9829)

This is necessary due to this change in upstream CodeMirror:

73ec1a70be (diff-0e21fb1c9519a397050defc2148a2d1b966a0982cc4cf196e1e6b007f8d095e5)

Currently the expression input shows a weird dotted outline when focused.

Signed-off-by: Julius Volz <julius.volz@gmail.com>
pull/9831/head
Julius Volz 3 years ago committed by GitHub
parent
commit
adf6f2439e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web/ui/react-app/src/pages/graph/CMTheme.tsx

2
web/ui/react-app/src/pages/graph/CMTheme.tsx

@ -2,7 +2,7 @@ import { HighlightStyle, tags } from '@codemirror/highlight';
import { EditorView } from '@codemirror/view'; import { EditorView } from '@codemirror/view';
export const baseTheme = EditorView.theme({ export const baseTheme = EditorView.theme({
'&': { '&.cm-editor': {
'&.cm-focused': { '&.cm-focused': {
outline: 'none', outline: 'none',
outline_fallback: 'none', outline_fallback: 'none',

Loading…
Cancel
Save