Skip to content

Commit 40d8c12

Browse files
committed
Remove focus outline
1 parent 584cdc4 commit 40d8c12

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

src/components/marked/syntax-highlighting.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@
171171
background: var(--cm-selection);
172172
}
173173

174+
.cm-focused.cm-focused {
175+
outline: none;
176+
}
177+
174178
.cm-focused .cm-selectionBackground {
175179
background: var(--cm-selection);
176180
}

src/components/marked/variable-editor.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,6 @@ export class VariableEditor extends Component<VariableEditorProps> {
5858
}
5959
}
6060
}),
61-
EditorView.theme({
62-
".cm-editor": {
63-
fontSize: "inherit",
64-
fontFamily: "inherit",
65-
},
66-
".cm-focused": {
67-
outline: "none",
68-
},
69-
}),
7061
],
7162
})
7263

0 commit comments

Comments
 (0)