Allow portrait documents to render somewhat taller because gaps were being left between them depending on window width.

This commit is contained in:
2026-05-03 18:36:14 +00:00
parent 3e80325053
commit 48d7435d0b
+1 -1
View File
@@ -86,7 +86,7 @@ const aspectByKey = ref<Record<string, number>>({})
const optimalRowHeightPx = (ratios: number[]) => {
const w = Math.max(1, columnWidthPx.value)
const minH = Math.max(1, Math.round(7 * emPx.value))
const maxH = Math.max(minH, Math.round(25 * emPx.value))
const maxH = Math.max(minH, Math.round(30 * emPx.value))
const usable = ratios.filter(ar => Number.isFinite(ar) && ar > 0)
if (usable.length === 0) return Math.round(15 * emPx.value)