fix(web): remove max-width constraint on assistant messages

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Naiyuan Qing 2026-01-30 23:52:11 +08:00
parent fd46d7ba9a
commit 86a8c91c9b

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}>