Skip to content

πŸ™Œ OpenHands: AI-Driven Development

Fix chat background on mobile devices (#7798)

Robert Brennan1c2db9f4681c
diff --git a/frontend/src/components/features/chat/chat-message.tsx b/frontend/src/components/features/chat/chat-message.tsx
index cd19542b8d..26a9cc2bf5 100644
--- a/frontend/src/components/features/chat/chat-message.tsx
+++ b/frontend/src/components/features/chat/chat-message.tsx
@@ -48,7 +48,7 @@ export function ChatMessage({
"rounded-xl relative",
"flex flex-col gap-2",
type === "user" && " max-w-[305px] p-4 bg-tertiary self-end",
- type === "assistant" && "mt-6 max-w-full bg-tranparent",
+ type === "assistant" && "mt-6 max-w-full bg-transparent",
)}
>
<CopyToClipboardButton
diff --git a/frontend/src/routes/conversation.tsx b/frontend/src/routes/conversation.tsx
index 3914c9142e..143d30fc86 100644
--- a/frontend/src/routes/conversation.tsx
+++ b/frontend/src/routes/conversation.tsx
@@ -121,7 +121,7 @@ function AppContent() {
function renderMain() {
if (width <= 640) {
return (
- <div className="rounded-xl overflow-hidden border border-neutral-600 w-full">
+ <div className="rounded-xl overflow-hidden border border-neutral-600 w-full bg-base-secondary">
<ChatInterface />
</div>
);