Fixed Overflowing Text message when user passed a very long string without spaces

pull/427/head
Arnab Ghosh 9 months ago committed by GitHub
parent 6c3ed5e533
commit 437bd13fd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -43,7 +43,7 @@ const ConversationBubble = forwardRef<
<div ref={ref} className={`flex flex-row-reverse self-end ${className}`}>
<Avatar className="mt-2 text-2xl" avatar="🧑‍💻"></Avatar>
<div className="mr-2 ml-10 flex items-center rounded-3xl bg-blue-1000 p-3.5 text-white">
<ReactMarkdown className="whitespace-pre-wrap break-words">
<ReactMarkdown className="whitespace-pre-wrap break-all">
{message}
</ReactMarkdown>
</div>

Loading…
Cancel
Save