auto change font size to small if text is too long

main
alexanderroese 2024-08-13 11:46:16 +02:00
parent bbd5e5d33f
commit 1753661498
1 changed files with 1 additions and 1 deletions

View File

@ -1149,7 +1149,7 @@
this.infoText.id = 'shx-info-text';
this.infoText.style.display = 'none';
this.infoText.style.color = 'red';
this.infoText.innerText = 'Text ist zu lang. Wir haben die Schriftgröße auf klein gesetzt. Bitte überprüfe deinen Text.';
this.infoText.innerText = 'Text ist zu lang. Wir haben die <strong>Schriftgröße</strong> auf <strong>klein</strong> gesetzt. Bitte überprüfe deinen Text.';
this.container.appendChild(this.infoText);
}