From 7adffc7576202025fb2c46bf4c5316c2b19eed0b Mon Sep 17 00:00:00 2001 From: Mohamed Aziz Mejri Date: Tue, 26 Aug 2025 00:57:57 +0100 Subject: [PATCH] fix text overflow in chat messages (#1073) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR fixes the issue #1072 where long words in chat messages overflow outside the message container. The fix applies Tailwind’s `break-words` utility to ensure that overly long words wrap properly within the chat bubble. --- ## Summary by cubic Fixes text overflow in chat messages by adding Tailwind’s break-words to the message content. Long words and URLs now wrap inside the bubble instead of spilling out. --- src/components/chat/ChatMessage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/chat/ChatMessage.tsx b/src/components/chat/ChatMessage.tsx index 0213f07..c283e78 100644 --- a/src/components/chat/ChatMessage.tsx +++ b/src/components/chat/ChatMessage.tsx @@ -104,7 +104,7 @@ const ChatMessage = ({ message, isLastMessage }: ChatMessageProps) => { ) : (
{message.role === "assistant" ? (