From eeca15c83ed3d72d6d5ab8d5024fcf92ce3190bd Mon Sep 17 00:00:00 2001 From: Smittix Date: Fri, 30 Jan 2026 10:24:34 +0000 Subject: [PATCH] fix: Ensure consistent navbar background across all pages Added explicit fallback color (#151a23) for .mode-nav background to ensure consistency between main index and dashboard pages. CSS variables may resolve differently based on cascade order. Co-Authored-By: Claude Opus 4.5 --- static/css/core/layout.css | 3 ++- static/css/index.css | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/static/css/core/layout.css b/static/css/core/layout.css index 452ba6d..804cd03 100644 --- a/static/css/core/layout.css +++ b/static/css/core/layout.css @@ -589,7 +589,8 @@ /* Mode Navigation Bar */ .mode-nav { display: none; - background: var(--bg-tertiary); + background: #151a23; /* Explicit color to ensure consistency across all pages */ + background: var(--bg-tertiary, #151a23); border-bottom: 1px solid var(--border-color); padding: 0 20px; } diff --git a/static/css/index.css b/static/css/index.css index e62208b..9518f16 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -640,7 +640,8 @@ header h1 { /* Mode Navigation Bar */ .mode-nav { display: none; - background: var(--bg-tertiary); + background: #151a23; /* Explicit color for consistency */ + background: var(--bg-tertiary, #151a23); border-bottom: 1px solid var(--border-color); padding: 0 20px; }