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
1 files changed, 1 insertions(+), 1 deletions(-)
apps/web/src/components/ChatView.tsx+1-1
| ... | ... | @@ -2471,7 +2471,7 @@ export default function ChatView({ threadId }: ChatViewProps) { |
| 2471 | 2471 | <form |
| 2472 | 2472 | ref={composerFormRef} |
| 2473 | 2473 | onSubmit={onSend} |
| 2474 | | className="mx-auto w-full min-w-fit max-w-3xl" |
| 2474 | className="mx-auto w-full min-w-0 max-w-3xl" |
| 2475 | 2475 | data-chat-composer-form="true" |
| 2476 | 2476 | > |
| 2477 | 2477 | <div |