Skip to content

Commit

Permalink
fix(play): use correct code font across locales (#12605)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoMcA authored Feb 12, 2025
1 parent 2290d5f commit da775ab
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client/src/lit/play/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,11 @@
.cm-editor {
height: 100%;
width: 100%;

* {
// codemirror uses `font-family: monospace;` in multiple places
// which causes weird fonts to be used in various locales
font-family: var(--font-code) !important;
}
}
}

0 comments on commit da775ab

Please sign in to comment.