diff --git a/src/app.css b/src/app.css index eb3e18710..c20656fb2 100644 --- a/src/app.css +++ b/src/app.css @@ -189,7 +189,7 @@ input[type='number'] { } .ProseMirror { - @apply h-full -translate-y-[1px]; + @apply h-full min-h-fit max-h-full; } .ProseMirror:focus { diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index 1732c3387..777632204 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -823,11 +823,11 @@ ); } else { // Reset chat input textarea - const chatTextAreaElement = document.getElementById('chat-input'); + const chatInputContainer = document.getElementById('chat-input-container'); - if (chatTextAreaElement) { - chatTextAreaElement.value = ''; - chatTextAreaElement.style.height = ''; + if (chatInputContainer) { + chatInputContainer.value = ''; + chatInputContainer.style.height = ''; } const _files = JSON.parse(JSON.stringify(files)); diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index 478b2653b..419629476 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -512,7 +512,7 @@