From 9181f4019a22ee26d5fd00ac82353698987bedb2 Mon Sep 17 00:00:00 2001 From: Michael Czechowski Date: Tue, 30 Dec 2025 22:02:29 +0100 Subject: [PATCH] fix: shorten CRISPY animation to 4s, visible for 5s --- src/app.js | 2 +- src/main.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.js b/src/app.js index 00214dd..72d34ea 100644 --- a/src/app.js +++ b/src/app.js @@ -603,7 +603,7 @@ function runCode() { elements.previewWrapper?.classList.add("matched"); setTimeout(() => { elements.previewWrapper?.classList.remove("matched"); - }, 10000); + }, 5000); updateNavigationButtons(); updateProgressDisplay(); diff --git a/src/main.css b/src/main.css index 6cc4e93..50967e1 100644 --- a/src/main.css +++ b/src/main.css @@ -595,7 +595,7 @@ code, kbd { border-radius: var(--border-radius-lg); font-weight: bold; font-size: 1.1rem; - animation: dvd-bounce 8s ease-in-out infinite; + animation: dvd-bounce 4s ease-in-out infinite; z-index: 10; white-space: nowrap; }