fix: remove centered class toggle - grid layout handles positioning

This commit is contained in:
2026-01-16 15:31:17 +01:00
parent f4ce61ba64
commit f9311d83f7

View File

@@ -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;