auto change font size to small if text is too long
parent
b2e6ba2f72
commit
b08d759723
|
@ -1149,7 +1149,7 @@
|
||||||
this.infoText.id = 'shx-info-text';
|
this.infoText.id = 'shx-info-text';
|
||||||
this.infoText.style.display = 'none';
|
this.infoText.style.display = 'none';
|
||||||
this.infoText.style.color = 'red';
|
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);
|
this.container.appendChild(this.infoText);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue