diff --git a/webview-ui/src/components/chat/BrowserSessionRow.tsx b/webview-ui/src/components/chat/BrowserSessionRow.tsx index a52d944abca..b3dd8c0f765 100644 --- a/webview-ui/src/components/chat/BrowserSessionRow.tsx +++ b/webview-ui/src/components/chat/BrowserSessionRow.tsx @@ -429,6 +429,7 @@ const BrowserSessionRowContent = ({ alignItems: "center", gap: "10px", marginBottom: "10px", + wordBreak: "break-word", } switch (message.type) { diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx index ec94326b632..e01c5054da4 100644 --- a/webview-ui/src/components/chat/ChatRow.tsx +++ b/webview-ui/src/components/chat/ChatRow.tsx @@ -242,6 +242,7 @@ export const ChatRowContent = ({ alignItems: "center", gap: "10px", marginBottom: "10px", + wordBreak: "break-word", } const pStyle: React.CSSProperties = {