From afc34632f7f4d494e5a91681ac4bfbfe6de47008 Mon Sep 17 00:00:00 2001 From: Luis Novo Date: Mon, 16 Feb 2026 14:56:46 -0300 Subject: [PATCH] fix: prevent chat input and message overflow with long unbroken strings Add min-w-0 to chat input flex container and textarea to prevent field-sizing-content from expanding the layout. Replace break-words with break-all on user message bubbles to force wrapping at any character for strings without spaces. --- frontend/src/app/(dashboard)/notebooks/[id]/page.tsx | 2 +- frontend/src/components/source/ChatPanel.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/app/(dashboard)/notebooks/[id]/page.tsx b/frontend/src/app/(dashboard)/notebooks/[id]/page.tsx index c942bc5..97ec398 100644 --- a/frontend/src/app/(dashboard)/notebooks/[id]/page.tsx +++ b/frontend/src/app/(dashboard)/notebooks/[id]/page.tsx @@ -230,7 +230,7 @@ export default function NotebookPage() { {/* Chat Column - always expanded, takes remaining space */} -
+
) : ( -

{message.content}

+

{message.content}

)}
{message.type === 'ai' && ( @@ -290,7 +290,7 @@ export function ChatPanel({
)} -
+