text size

This commit is contained in:
Pete Matsyburka committed 2025-07-04 13:33:52 +03:00
1 parent 7b74487214
commit 1b60b42428
1 file changed
+4
@@ -9,6 +9,10 @@
if (this.field.scrollHeight > this.field.clientHeight) {
this.field.classList.add('text-[0.8vw]', 'lg:text-[0.50rem]');
}
if (this.field.scrollHeight > this.field.clientHeight) {
this.field.classList.add('text-[0.7vw]', 'lg:text-[0.45rem]');
}
}
}
get field() {