From ce531399f90620c9055964b1be84ca1bac248009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Thu, 19 Feb 2026 21:03:41 +0100 Subject: [PATCH] fix(mobile-menu): use persistent store and move x-cloak to base layer for stability --- assets/css/tailwind.css | 4 ++-- default.hbs | 24 ++++++++++++++---------- partials/header.hbs | 2 +- partials/mobile-menu.hbs | 10 +++++----- 4 files changed, 22 insertions(+), 18 deletions(-) diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index eeaebfd..446e556 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -48,9 +48,9 @@ html[data-theme='light'] { --text-tertiary: #7d5e31; } -[x-cloak] { display: none !important; } - @layer base { + [x-cloak] { display: none !important; } + body { background-color: var(--bg-primary); color: var(--text-primary); diff --git a/default.hbs b/default.hbs index bb960d3..6ba0eaa 100644 --- a/default.hbs +++ b/default.hbs @@ -2,23 +2,13 @@ + + {{ghost_head}} diff --git a/partials/header.hbs b/partials/header.hbs index e30cb0f..c934dd2 100644 --- a/partials/header.hbs +++ b/partials/header.hbs @@ -22,7 +22,7 @@ -