Allow chat composer to shrink within constrained layouts

- Replace composer form `min-w-fit` with `min-w-0` in `ChatView`
- Prevent overflow and improve responsiveness in narrow containers
This commit is contained in:
Julius Marminge committed 2026-03-02 15:37:14 -08:00
1 parent 5e78386cdc
commit 31b515cd6c
1 file changed
+1 -1
+1 -1
View File
@@ -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