mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
#4036 Bugfix scaling von texten
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user