auto change font size to small if text is too long

main
alexanderroese 2024-08-13 11:47:30 +02:00
parent b2e6ba2f72
commit b08d759723
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.innerHTML = 'Text ist zu lang. Wir haben die <strong>Schriftgröße</strong> auf <strong>klein</strong> gesetzt. Bitte überprüfe deinen Text.';
this.infoText.innerHTML = 'Text ist zu lang. Wir haben die <span style="font-weight: 600">Schriftgröße</span> auf <span style="font-weight: 600">klein</span> gesetzt. Bitte überprüfe deinen Text.';
this.container.appendChild(this.infoText);
}