From 08aad7b40e8d548e958fd30e87bfeb30a5dc18af Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 17 Sep 2025 17:57:58 -0400 Subject: [PATCH] Complete dropdown z-index fix with proper stacking context - Add z-index: 9999 to header and nav elements - Ensure proper stacking context with position: relative - Fix dropdown rendering underneath H1 and body text - Comprehensive solution for all dropdown layering issues --- templates/base.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/templates/base.html b/templates/base.html index 78e3f41..50c4bb4 100644 --- a/templates/base.html +++ b/templates/base.html @@ -64,12 +64,24 @@ transition: width 0.1s ease-out; } + /* Header and nav z-index for dropdown stacking */ + header { + position: relative; + z-index: 9999; + } + + nav { + position: relative; + z-index: 9999; + } + /* Dropdown navigation styles */ .nav-dropdown { position: relative; display: inline-block; padding: 0.5rem; margin: -0.5rem; + z-index: 9999; }