mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
set textarea max height
This commit is contained in:
1 parent
10fbdf6612
commit
cfc32ee522
1 file changed
+1
-1
@@ -147,7 +147,7 @@ export default {
|
||||
const textarea = this.$refs.textarea
|
||||
|
||||
textarea.style.height = 'auto'
|
||||
textarea.style.height = textarea.scrollHeight + 'px'
|
||||
textarea.style.height = Math.min(350, textarea.scrollHeight) + 'px'
|
||||
},
|
||||
toggleTextArea () {
|
||||
this.isTextArea = true
|
||||
|
||||
Reference in new issue
Block a user