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:
1 parent
5e78386cdc
commit
31b515cd6c
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user