Fix Studio user-message overflow for long unbroken text (#7100)

This commit is contained in:
Long Yixing 2026-07-14 01:42:40 +08:00 committed by GitHub
commit cc8599207c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4006,7 +4006,7 @@ const UserMessage: FC = () => {
<UserMessageAudio />
<div className="aui-user-message-content-wrapper flex max-w-[80%] min-w-0 flex-col items-end">
<div className="aui-user-message-content wrap-break-word w-fit rounded-[24px] bg-[#f5f5f5] px-4 py-2.5 text-[#0d0d0d] dark:text-foreground dark:bg-card">
<div className="aui-user-message-content wrap-break-word w-fit max-w-full rounded-[24px] bg-[#f5f5f5] px-4 py-2.5 text-[#0d0d0d] dark:text-foreground dark:bg-card">
<MessagePrimitive.Parts />
</div>
<div className="mt-1 -mr-[var(--icon-btn-inset)] flex min-h-8 items-center">