setting fallback font when previewing. closes #2188

This commit is contained in:
Miodec 2021-12-18 19:54:08 +01:00
parent 12361a0a90
commit db87e59a3b

View file

@ -1200,7 +1200,7 @@ export function previewFontFamily(font) {
}
document.documentElement.style.setProperty(
"--font",
'"' + font.replace(/_/g, " ") + '"'
'"' + font.replace(/_/g, " ") + '", "Roboto Mono"'
);
}