[Chore]: Fix Expiry CSS

This commit is contained in:
ClaraCrazy 2025-12-29 17:43:57 +01:00
parent 8ebf22430b
commit 4d74eacb23
No known key found for this signature in database
GPG key ID: EBBC896ACB497011

View file

@ -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);