refactor(frontend): align chat message action buttons (#11173)

This commit is contained in:
Hiep Le 2025-09-30 19:55:09 +07:00 committed by GitHub
parent e63d981192
commit 3493348fac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,7 +58,7 @@ export function ChatMessage({
"rounded-xl relative w-fit max-w-full last:mb-4",
"flex flex-col gap-2",
type === "user" && " p-4 bg-tertiary self-end",
type === "agent" && "mt-6 max-w-full bg-transparent",
type === "agent" && "mt-6 w-full max-w-full bg-transparent",
)}
>
<div
@ -107,7 +107,7 @@ export function ChatMessage({
</div>
<div
className="text-sm"
className="text-sm w-fit"
style={{
whiteSpace: "normal",
wordBreak: "break-word",