From 7c10ded8a6f3717652be7ae5a15522253ce46a2d Mon Sep 17 00:00:00 2001 From: ekzyis Date: Thu, 24 Jul 2025 06:47:16 +0200 Subject: [PATCH] Fix footer visible through dropdown (#2323) --- components/layout.module.css | 1 - components/search.module.css | 1 + styles/globals.scss | 10 ---------- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/components/layout.module.css b/components/layout.module.css index 50ae67ed..798a085d 100644 --- a/components/layout.module.css +++ b/components/layout.module.css @@ -5,7 +5,6 @@ height: 100%; align-items: center; margin: auto; - z-index: 0; } .content { diff --git a/components/search.module.css b/components/search.module.css index f42979bf..89b45237 100644 --- a/components/search.module.css +++ b/components/search.module.css @@ -1,4 +1,5 @@ .searchSection { + background-color: var(--bs-body-bg); z-index: 1; } diff --git a/styles/globals.scss b/styles/globals.scss index 0d865978..fd470920 100644 --- a/styles/globals.scss +++ b/styles/globals.scss @@ -220,8 +220,6 @@ $zindex-sticky: 900; scroll-margin-top: 60px; } - - .ms-xs { margin-left: 0.125rem; } @@ -598,14 +596,6 @@ div[contenteditable]:disabled, min-height: 100svh; } -#__next > main { - z-index: 0; -} - -#__next > footer { - z-index: 0; -} - footer { margin-top: auto; display: flex;