Sanitized fonts so they actually work as intended

This commit is contained in:
nutty
2026-08-10 20:07:34 +10:00
parent b13b10a682
commit f20f1f2940
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ if (!showAvatar) {
}
// Set fonts for the widget
document.body.style.fontFamily = font;
document.body.style.fontFamily = `'${font}'`;
document.body.style.fontSize = `${fontSize}px`;
document.body.style.color = fontColor;