From ec00d7acd3dfd0701ab10227b66ad87871d9eecd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= <jonas.havelka@volny.cz>
Date: Wed, 19 Mar 2025 21:00:57 +0100
Subject: [PATCH] =?UTF-8?q?Fix:=20Str=C3=A1nky=20PDF=20z=C5=AFstaly=20dale?=
 =?UTF-8?q?ko=20od=20sebe=20i=20p=C5=99i=20sbalen=C3=AD=20korektur?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../templates/korektury/korekturovatko/moduly/stranky_pdfka.html | 1 +
 1 file changed, 1 insertion(+)

diff --git a/korektury/templates/korektury/korekturovatko/moduly/stranky_pdfka.html b/korektury/templates/korektury/korekturovatko/moduly/stranky_pdfka.html
index c96cf544..1f00f678 100644
--- a/korektury/templates/korektury/korekturovatko/moduly/stranky_pdfka.html
+++ b/korektury/templates/korektury/korekturovatko/moduly/stranky_pdfka.html
@@ -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;
     }