mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-19 04:00:59 -04:00
Sanitized fonts so they actually work as intended
This commit is contained in:
@@ -104,7 +104,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 line spacing
|
||||
|
||||
Reference in New Issue
Block a user