Skip to content
TypeScript

Allow chat composer to shrink within constrained layouts

Julius Marminge094859bbc7fa
diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx
index 2a0c6ccaf9b..8591ca22f1c 100644
--- a/apps/web/src/components/ChatView.tsx
+++ b/apps/web/src/components/ChatView.tsx
@@ -2471,7 +2471,7 @@ export default function ChatView({ threadId }: ChatViewProps) {
<form
ref={composerFormRef}
onSubmit={onSend}
- className="mx-auto w-full min-w-fit max-w-3xl"
+ className="mx-auto w-full min-w-0 max-w-3xl"
data-chat-composer-form="true"
>
<div