mirror of
https://github.com/Crazyco-xyz/48hr.email.git
synced 2026-01-09 03:09:36 +01:00
[Chore]: Fix Expiry CSS
This commit is contained in:
parent
8ebf22430b
commit
4d74eacb23
1 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue