From 1b7e5b56f941e8349ea3028c6c1e575f1ffb58fa Mon Sep 17 00:00:00 2001 From: syxanash Date: Mon, 23 Dec 2024 17:10:50 +0000 Subject: [PATCH] smaller font on mobile --- assets/js/bluerain.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/bluerain.js b/assets/js/bluerain.js index eff15a5..305623d 100644 --- a/assets/js/bluerain.js +++ b/assets/js/bluerain.js @@ -77,7 +77,7 @@ const rainFonts = [ ]; const fontSizes = [10, 15, 17, 20, 25]; -let fontSize = fontSizes[2]; +let fontSize = Util.isMobile() ? fontSizes[1] : fontSizes[2]; let showEmojis = true; let showTextShadow = false;