From a38bcc01de18d6e2bf5ef2bf018c42911e09cff8 Mon Sep 17 00:00:00 2001 From: Edouard Vanbelle Date: Fri, 24 Apr 2026 23:22:18 +0200 Subject: [PATCH] refactor(ui): normalize about modal with hidden class --- static/css/components/modals.css | 6 +----- static/index.html | 2 +- static/js/app/userMenu.js | 12 ++++++------ 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/static/css/components/modals.css b/static/css/components/modals.css index 0b0ef26c..0b903112 100644 --- a/static/css/components/modals.css +++ b/static/css/components/modals.css @@ -1,6 +1,6 @@ /* About Modal */ .about-modal-overlay { - display: none; + display: flex; position: fixed; inset: 0; background: var(--color-overlay); @@ -10,10 +10,6 @@ align-items: center; } -.about-modal-overlay.show { - display: flex; -} - .about-modal { background: var(--color-bg-surface); border-radius: 20px; diff --git a/static/index.html b/static/index.html index d0000a75..499e9b08 100644 --- a/static/index.html +++ b/static/index.html @@ -266,7 +266,7 @@ -
+