hightlight search results

This commit is contained in:
Jonas Heinrich 2020-07-21 12:21:25 +02:00
parent c9354c5f2e
commit e75c9ccfdc
5 changed files with 37 additions and 8 deletions

View file

@ -31,11 +31,11 @@
<script>
document.addEventListener("DOMContentLoaded", function() {
console.log("resized");
textFit(document.getElementById('centeredMultiLine'), {alignHoriz: true, alignVert: true, multiLine: true, reProcess: true, maxFontSize: 45});
textFit(document.getElementById('centeredMultiLine'), {alignHoriz: true, multiLine: true, reProcess: true, maxFontSize: 35});
});
window.addEventListener('resize', function(event){
console.log("resized");
textFit(document.getElementById('centeredMultiLine'), {alignHoriz: true, alignVert: true, multiLine: true, reProcess: true, maxFontSize: 45});
textFit(document.getElementById('centeredMultiLine'), {alignHoriz: true, multiLine: true, reProcess: true, maxFontSize: 35});
});
</script>