From 3300aa784f58fbd588791219259005c27c6b71f8 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Thu, 9 Jan 2025 22:57:46 +0100 Subject: [PATCH] revert small size, still used for the formation --- main.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/main.ts b/main.ts index aa05610..c247224 100644 --- a/main.ts +++ b/main.ts @@ -26,6 +26,15 @@ if (display === 'house-only') { document.querySelectorAll('.hud')?.forEach((hud) => hud.remove()) } +const size = params.get('size') + +if (size === 'small') { + const body = document.querySelector('body') + if (body) { + body.style.fontSize = '15px' + } +} + const focusElements = params.getAll('focus') if (focusElements.length > 0) {