set textarea max height

pull/356/head^2
Pete Matsyburka 1 year ago committed by Oleksandr Turchyn
parent 10fbdf6612
commit cfc32ee522

@ -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

Loading…
Cancel
Save