use thicker strikethrough on paused duration

This commit is contained in:
xenofem 2024-01-26 16:29:24 -05:00
parent 17dc404ba3
commit 3ca4dcc807

View file

@ -72,7 +72,7 @@ document.addEventListener('DOMContentLoaded', () => {
durationDisplay.textContent = duration.toLocaleString() + 's'; durationDisplay.textContent = duration.toLocaleString() + 's';
if (paused) { if (paused) {
durationDisplay.style.textDecoration = "line-through"; durationDisplay.style.textDecoration = "line-through 2px";
stopTimer(); stopTimer();
} else { } else {
durationDisplay.style.textDecoration = ""; durationDisplay.style.textDecoration = "";