From 2fde24dccf9b856bc420db35dd7e58742cd21c4a Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Mon, 3 Jun 2024 17:37:14 +0200 Subject: [PATCH] ui fixes --- src/lib/components/TextEditor.svelte | 8 ++++---- src/routes/+page.svelte | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/components/TextEditor.svelte b/src/lib/components/TextEditor.svelte index 0526853b..60139dbd 100644 --- a/src/lib/components/TextEditor.svelte +++ b/src/lib/components/TextEditor.svelte @@ -186,11 +186,11 @@ function handleInput(event) { if($screenWidth >= 640) { textarea.style.height = 'auto'; - textarea.style.height = Math.min(textarea.scrollHeight, 300) + 'px'; + textarea.style.height = Math.min(textarea.scrollHeight, 10000) + 'px'; } else { textarea.style.height = 'auto'; - textarea.style.height = Math.min(textarea.scrollHeight, 60) + 'px'; + textarea.style.height = Math.min(textarea.scrollHeight, 10000) + 'px'; } } @@ -229,10 +229,10 @@ function handleImageInput(event) { -
+