mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
refactor(frontend): align chat message action buttons (#11173)
This commit is contained in:
parent
e63d981192
commit
3493348fac
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user