We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b28da61 commit 024cee1Copy full SHA for 024cee1
src/lib/editorManager.js
@@ -199,10 +199,12 @@ async function EditorManager($header, $body) {
199
function makeFontTheme() {
200
const fontSize = appSettings?.value?.fontSize || "12px";
201
const lineHeight = appSettings?.value?.lineHeight || 1.6;
202
+ const fontFamily = getEditorFontFamily();
203
return EditorView.theme({
204
"&": { fontSize, lineHeight: String(lineHeight) },
- ".cm-content": { fontFamily: getEditorFontFamily() },
205
- ".cm-tooltip": { fontFamily: getEditorFontFamily() },
+ ".cm-content": { fontFamily },
206
+ ".cm-gutter": { fontFamily },
207
+ ".cm-tooltip, .cm-tooltip *": { fontFamily },
208
});
209
}
210
0 commit comments