Fix: Stránky PDF zůstaly daleko od sebe i při sbalení korektur

This commit is contained in:
Jonas Havelka 2025-03-19 21:00:57 +01:00
parent 6dbfae34d0
commit ec00d7acd3

View file

@ -126,6 +126,7 @@
); // FIXME nemám páru, proč +VERTIKALNI_MEZERA funguje, ale opravuje to bug, že nově vytvořené korektury za sebou neměly mezeru
}
this.htmlElement_div.style.height = "unset";
if (this.htmlElement_div.offsetHeight < spodek_posledni_korektury)
this.htmlElement_div.style.height = spodek_posledni_korektury;
}