Improved scaling of navbar for page-view and redact

This commit is contained in:
Connor Yoh 2025-07-18 13:46:07 +01:00
parent d79d179d80
commit 8c8d0d16c2
2 changed files with 2 additions and 2 deletions

View File

@ -3044,7 +3044,7 @@ body{
#outerContainer{ #outerContainer{
width:100%; width:100%;
height: calc(100% - var(--navbar-height)); height: 100%;
position:relative; position:relative;
} }

View File

@ -115,7 +115,7 @@
// Set CSS custom property for mobile navbar scaling (for sidebar positioning) // Set CSS custom property for mobile navbar scaling (for sidebar positioning)
// Use the ACTUAL scaled height, not a fixed assumption // Use the ACTUAL scaled height, not a fixed assumption
const baseHeight = 60; const baseHeight = 64;
const actualScaledHeight = baseHeight * navScale; const actualScaledHeight = baseHeight * navScale;
document.documentElement.style.setProperty('--navbar-height', `${actualScaledHeight}px`); document.documentElement.style.setProperty('--navbar-height', `${actualScaledHeight}px`);