mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
fix(frontend): UI breaks when user message contains codeblock that's too wide (#10276)
This commit is contained in:
parent
11f364c5e4
commit
2b65b8aff2
@ -53,7 +53,7 @@ export function ChatMessage({
|
||||
onMouseEnter={() => setIsHovering(true)}
|
||||
onMouseLeave={() => setIsHovering(false)}
|
||||
className={cn(
|
||||
"rounded-xl relative w-fit",
|
||||
"rounded-xl relative w-fit max-w-full",
|
||||
"flex flex-col gap-2",
|
||||
type === "user" && " p-4 bg-tertiary self-end",
|
||||
type === "agent" && "mt-6 max-w-full bg-transparent",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user