auto change font size to small if text is too long

main
alexanderroese 2024-08-13 10:38:44 +02:00
parent f1aa487445
commit a72dd8fd26
1 changed files with 2 additions and 0 deletions

View File

@ -1005,6 +1005,8 @@
showLoadingSpinnerErrorChar() { showLoadingSpinnerErrorChar() {
this.loadingSpinner.showErrorCharLottie("Hoppla, der von dir eingegebene Text ist zu lang. Bitte kürze ihn oder wende dich an uns für eine individuelle Lösung."); this.loadingSpinner.showErrorCharLottie("Hoppla, der von dir eingegebene Text ist zu lang. Bitte kürze ihn oder wende dich an uns für eine individuelle Lösung.");
this.disableBuyButton(); this.disableBuyButton();
console.log("text too long, selectect font size", document.querySelector('#shx-fontSize').value);
} }
hideLoadingSpinner() { hideLoadingSpinner() {