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 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-01-30 10:24:34 +00:00
parent ed1dfbb9b5
commit eeca15c83e
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -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;
}
+2 -1
View File
@@ -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;
}