Hotfix: chybějící mezery za korekturami

This commit is contained in:
Jonas Havelka 2025-02-11 12:03:47 +01:00
parent 6eb4633af0
commit 7237364ba5

View file

@ -31,7 +31,7 @@ function place_comments_one_div(img_id, comments)
htmlElement.style.left = w + W_SKIP;
htmlElement.style.top = y + delta_y;
bott_max = Math.max(bott_max, htmlElement.offsetTop + htmlElement.offsetHeight);
bott_max = Math.max(bott_max, htmlElement.offsetTop + htmlElement.offsetHeight + H_SKIP); // FIXME nemám páru, proč +H_SKIP funguje, ale opravuje to bug, že nově vytvořené korektury za sebou neměly mezeru
}
if (par.offsetHeight < bott_max) par.style.height = bott_max;