mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 13:27:49 +08:00
setting fallback font when previewing. closes #2188
This commit is contained in:
parent
12361a0a90
commit
db87e59a3b
1 changed files with 1 additions and 1 deletions
|
@ -1200,7 +1200,7 @@ export function previewFontFamily(font) {
|
|||
}
|
||||
document.documentElement.style.setProperty(
|
||||
"--font",
|
||||
'"' + font.replace(/_/g, " ") + '"'
|
||||
'"' + font.replace(/_/g, " ") + '", "Roboto Mono"'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue