From 2ade470fc12e5ad2595215261e1ece22ff8b6412 Mon Sep 17 00:00:00 2001 From: Anjo Vahldiek-Oberwagner Date: Tue, 19 May 2026 10:38:58 +0200 Subject: [PATCH] fix: prevent white overlay when mobile burger menu opens The Minimal Mistakes theme's greedy-nav JS adds a .close class to the hamburger toggle button, which triggers a full-screen white ::before overlay (opacity 0.9, background #fff). Since we use Alpine.js for the hamburger menu instead of the theme's built-in mechanism, this overlay blocks the entire page on mobile in both light and dark mode. Fixes: 1. Add inline + + + + + diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss index 3bbcfb86..ccc83148 100644 --- a/src/assets/css/main.scss +++ b/src/assets/css/main.scss @@ -191,6 +191,14 @@ html { border: none; padding: 4px 8px; color: #333; + + // Disable the theme's full-screen white backdrop overlay. + // The theme uses ::before on .greedy-nav__toggle.close to create a page-wide + // white overlay when .hidden-links is shown. Since we use Alpine.js for the + // hamburger menu instead, this overlay just blocks the page. + &::before { + display: none !important; + } } // Desktop (≥768px): show all items, keep hamburger visible