From 48ce3d96af5a0d664da9349a0a8fb8c8adcae2e3 Mon Sep 17 00:00:00 2001 From: Niek van der Maas Date: Sun, 5 Mar 2023 16:54:57 +0100 Subject: [PATCH] Add auti-resizing input --- src/app.scss | 5 +++++ src/lib/Chat.svelte | 12 ++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/app.scss b/src/app.scss index 2254112..c00137f 100644 --- a/src/app.scss +++ b/src/app.scss @@ -33,6 +33,11 @@ a.is-disabled { text-decoration: none !important; } +/* Style the chat input */ +.chat-input { + overflow-y:hidden; +} + $footer-padding: 3rem 1.5rem; @import "/node_modules/bulma/bulma.sass"; \ No newline at end of file diff --git a/src/lib/Chat.svelte b/src/lib/Chat.svelte index 4120ba1..c30f7ef 100644 --- a/src/lib/Chat.svelte +++ b/src/lib/Chat.svelte @@ -107,7 +107,7 @@