auto change font size to small if text is too long

main
alexanderroese 2024-08-13 11:42:24 +02:00
parent 29c62c5d97
commit c585dd8d63
1 changed files with 2 additions and 2 deletions

View File

@ -1020,9 +1020,9 @@
document.querySelector('#shx-info-text').style.display = 'block';
// hide the text after 5 seconds
setTimeout(() => {
this.infoTextTimeout = setTimeout(() => {
document.querySelector('#shx-info-text').style.display = 'none';
}, 10000);
}, 5000);
}
}