mirror of
https://github.com/Crazyco-xyz/48hr.email.git
synced 2026-01-10 03:29: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 {
|
try {
|
||||||
const horse = document.querySelector('body');
|
const horse = document.querySelector('body');
|
||||||
const style = getComputedStyle(horse);
|
const style = getComputedStyle(horse);
|
||||||
el.style.color = style.getPropertyValue('accent-color').trim();
|
el.style.color = style.getPropertyValue('accent-color').trim() + "!important";
|
||||||
} catch (_) {
|
} catch (_) {
|
||||||
el.style.color = '#b00';
|
el.style.color = '#b00!important';
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const hours = Math.floor(diff / 3600);
|
const hours = Math.floor(diff / 3600);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue