summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-17 11:41:04 +0200
committerDanilo M. <danix@danix.xyz>2026-04-17 11:41:04 +0200
commita31a0ad53086b02531d49d0ef551597d0d482da4 (patch)
treef4e30f8b6e102710016b7c1b53421ef0954b12ec /themes/danix-xyz-hacker
parent15dce86326b053f92f9911ee212afb5729511c34 (diff)
downloaddanixxyz-a31a0ad53086b02531d49d0ef551597d0d482da4.tar.gz
danixxyz-a31a0ad53086b02531d49d0ef551597d0d482da4.zip
fix: easter egg modal visibility by removing conflicting hidden class
Changed modal display from static 'hidden' class to conditional binding that only applies 'hidden' when showEasterEgg is false. This prevents Tailwind's display: none !important from overriding the flex layout binding. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'themes/danix-xyz-hacker')
-rw-r--r--themes/danix-xyz-hacker/layouts/404.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/danix-xyz-hacker/layouts/404.html b/themes/danix-xyz-hacker/layouts/404.html
index 2bf212d..00dcfcf 100644
--- a/themes/danix-xyz-hacker/layouts/404.html
+++ b/themes/danix-xyz-hacker/layouts/404.html
@@ -101,8 +101,8 @@ window.articlesData = [
<!-- Easter Egg Modal (Hidden by default) -->
<div
- class="fixed inset-0 z-50 hidden"
- :class="{ 'flex items-center justify-center': showEasterEgg }"
+ class="fixed inset-0 z-50"
+ :class="{ 'flex items-center justify-center': showEasterEgg, 'hidden': !showEasterEgg }"
x-show="showEasterEgg"
x-cloak
>