From 26ae5f1d80f4902baf12562e0914ed5b495dc023 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Thu, 12 Sep 2024 23:54:15 +0300 Subject: [PATCH] update textarea size --- app/javascript/submission_form/text_step.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/submission_form/text_step.vue b/app/javascript/submission_form/text_step.vue index 21dfc4a2..cd71d16d 100644 --- a/app/javascript/submission_form/text_step.vue +++ b/app/javascript/submission_form/text_step.vue @@ -147,7 +147,7 @@ export default { const textarea = this.$refs.textarea textarea.style.height = 'auto' - textarea.style.height = Math.min(350, textarea.scrollHeight) + 'px' + textarea.style.height = Math.min(250, textarea.scrollHeight) + 'px' }, toggleTextArea () { this.isTextArea = true