Open source CapCut alternative.
TypeScript
fix(site): long unbroken text wraps inside the user chat bubble
David Le781f392c332c
diff --git a/site/src/cut/components/AiPanel.tsx b/site/src/cut/components/AiPanel.tsxindex 0551a1a8..196c98f6 100644--- a/site/src/cut/components/AiPanel.tsx+++ b/site/src/cut/components/AiPanel.tsx@@ -969,7 +969,7 @@ const MessageView = memo(function MessageView({ message }: { message: UIMessage</div>)}{text && (- <div className="max-w-[85%] rounded-2xl rounded-br-md bg-neutral-900 px-3 py-2 text-[12.5px] leading-relaxed whitespace-pre-wrap text-white">+ <div className="max-w-[85%] rounded-2xl rounded-br-md bg-neutral-900 px-3 py-2 text-[12.5px] leading-relaxed break-words whitespace-pre-wrap text-white"><MentionedText text={text} attachments={attachments} /></div>)}