From ca526052f55dffa2b799becb8e02b9a1e9664492 Mon Sep 17 00:00:00 2001 From: Michael Czechowski Date: Fri, 16 Jan 2026 15:31:17 +0100 Subject: [PATCH] fix: remove centered class toggle - grid layout handles positioning --- src/app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app.js b/src/app.js index 5866f54..5e71551 100644 --- a/src/app.js +++ b/src/app.js @@ -755,9 +755,8 @@ function updateNavigationButtons() { const engineState = lessonEngine.getCurrentState(); const isPlayground = engineState.lesson?.mode === "playground"; - // Hide next button in playground mode + // Hide next button in playground mode (grid layout keeps pill centered) elements.nextBtn.classList.toggle("hidden", isPlayground); - elements.gameControls?.classList.toggle("centered", isPlayground); // Update button states elements.prevBtn.disabled = !engineState.canGoPrev;