Merge pull request #38 from multica-ai/fix/chat-assistant-message-width

fix(web): remove max-width constraint on assistant messages
This commit is contained in:
Naiyuan Qing 2026-01-30 23:54:03 +08:00 committed by GitHub
commit 83ab7ee743
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -112,7 +112,7 @@ export function Chat() {
>
<div
className={cn(
msg.role === "user" ? "bg-muted rounded-md max-w-[60%] p-1 px-2.5" : "w-full max-w-[90%] p-1 px-2.5"
msg.role === "user" ? "bg-muted rounded-md max-w-[60%] p-1 px-2.5" : "w-full p-1 px-2.5"
)}
>
<MemoizedMarkdown mode="minimal" id={msg.id}>