text size
This commit is contained in:
@@ -9,6 +9,10 @@
|
|||||||
if (this.field.scrollHeight > this.field.clientHeight) {
|
if (this.field.scrollHeight > this.field.clientHeight) {
|
||||||
this.field.classList.add('text-[0.8vw]', 'lg:text-[0.50rem]');
|
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() {
|
get field() {
|
||||||
|
|||||||
Reference in New Issue
Block a user