adjust drawer

This commit is contained in:
Pete Matsyburka
2024-04-17 17:22:49 +03:00
parent 4d354ae9ff
commit 5af65ef74f
4 changed files with 23 additions and 5 deletions
@@ -7,7 +7,7 @@ export default class extends HTMLElement {
resize () {
if (this.textarea.clientHeight < this.textarea.scrollHeight) {
this.textarea.style.height = `${this.textarea.scrollHeight}px`
this.textarea.style.height = `${this.textarea.scrollHeight + 5}px`
}
}