feat: remove cm-scroller fontFamily

This commit is contained in:
DIYgod 2023-06-13 19:48:23 +01:00
parent 57d55dce1a
commit a5690eb03b
No known key found for this signature in database
1 changed files with 0 additions and 3 deletions

View File

@ -8,8 +8,6 @@ import { githubLight } from "@ddietr/codemirror-themes/theme/github-light"
import { useIsUnmounted } from "./useLifecycle"
export const monospaceFonts = `"OperatorMonoSSmLig Nerd Font","Cascadia Code PL","FantasqueSansMono Nerd Font","operator mono","Fira code Retina","Fira code","Consolas", Monaco, "Hannotate SC", monospace, -apple-system`
const extensionMap = {
theme: new Compartment(),
style: new Compartment(),
@ -40,7 +38,6 @@ export const useCodeMirrorAutoToggleTheme = (
const baseCmStyle = {
".cm-scroller": {
fontFamily: monospaceFonts,
fontSize: "1rem",
overflow: "auto",
height: "100%",