commit 9887f7c0affa8a0f805fc14a2fbc250ef7c13f92
parent e31c9ea9d6f716f74721ef92139dfed3d77e8d27
Author: Hunter
Date: Wed, 4 Feb 2026 17:09:29 -0500
increase top/bottom padding in fullscreen
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resources/spread-layout.js b/resources/spread-layout.js
@@ -70,7 +70,7 @@ export function scaleSpreadToFit(container, doc, bottomPadding = 0) {
const spreadHeightPx = bookContainer.offsetHeight;
if (spreadWidthPx === 0 || spreadHeightPx === 0) return;
const scaleX = (vw - 40) / spreadWidthPx;
- const scaleY = (vh - 40) / spreadHeightPx;
+ const scaleY = (vh - 134) / spreadHeightPx;
const scale = Math.min(scaleX, scaleY);
// Use CSS zoom for high-resolution rendering instead of transform scale