From 4d74eacb23ad53e7be953a97c4ead5059a8cda98 Mon Sep 17 00:00:00 2001 From: ClaraCrazy Date: Mon, 29 Dec 2025 17:43:57 +0100 Subject: [PATCH] [Chore]: Fix Expiry CSS --- infrastructure/web/public/javascripts/utils.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/infrastructure/web/public/javascripts/utils.js b/infrastructure/web/public/javascripts/utils.js index 1659b6d..ba60028 100644 --- a/infrastructure/web/public/javascripts/utils.js +++ b/infrastructure/web/public/javascripts/utils.js @@ -34,11 +34,10 @@ document.addEventListener('DOMContentLoaded', () => { try { const horse = document.querySelector('body'); const style = getComputedStyle(horse); - el.style.color = style.getPropertyValue('accent-color').trim(); + el.style.color = style.getPropertyValue('accent-color').trim() + "!important"; } catch (_) { - el.style.color = '#b00'; + el.style.color = '#b00!important'; } - return; } const hours = Math.floor(diff / 3600);