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
@@ -97,7 +97,7 @@ let youtubeUsername = urlParams.get("youtubeUsername") || "";
////////////////
// Set fonts for the widget
document.body.style.fontFamily = font;
document.body.style.fontFamily = `'${font}'`;
document.body.style.fontSize = `${fontSize}px`;
// Set the background color