diff --git a/app/core/src/main/resources/static/pdfjs-legacy/css/viewer.css b/app/core/src/main/resources/static/pdfjs-legacy/css/viewer.css index daec237cc..1cfa11425 100644 --- a/app/core/src/main/resources/static/pdfjs-legacy/css/viewer.css +++ b/app/core/src/main/resources/static/pdfjs-legacy/css/viewer.css @@ -3044,7 +3044,7 @@ body{ #outerContainer{ width:100%; - height: calc(100% - var(--navbar-height)); + height: 100%; position:relative; } diff --git a/app/core/src/main/resources/templates/fragments/common.html b/app/core/src/main/resources/templates/fragments/common.html index 78f0d5662..f07347721 100644 --- a/app/core/src/main/resources/templates/fragments/common.html +++ b/app/core/src/main/resources/templates/fragments/common.html @@ -115,7 +115,7 @@ // Set CSS custom property for mobile navbar scaling (for sidebar positioning) // Use the ACTUAL scaled height, not a fixed assumption - const baseHeight = 60; + const baseHeight = 64; const actualScaledHeight = baseHeight * navScale; document.documentElement.style.setProperty('--navbar-height', `${actualScaledHeight}px`);