#4036 Bugfix scaling von texten

This commit is contained in:
Lorenz Hilpert
2023-05-09 13:03:02 +02:00
parent d2fb3b6c85
commit 778343f636

View File

@@ -59,7 +59,7 @@ export class ScaleContentComponent implements AfterContentInit {
const domRect = clientRect && clientRect[0];
if (domRect && domRect?.height < scrollHeight) {
if (domRect && Math.ceil(domRect?.height) < scrollHeight) {
this.fontSizeInEm -= this.adjustmentSteps;
} else {
return;