authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-03-02 15:37:14-08:00
committergravatar for jmarminge@gmail.comJulius Marminge <jmarminge@gmail.com> 2026-03-02 15:42:05-08:00
log094859bbc7fab802b53ea291f4b395d9d28f0426
tree042d8ab135fa42032cc0841186561ec9907ad332
parent5e78386cdc805ee64ccc745454ce476475597f6f

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,7 +2471,7 @@ export default function ChatView({ threadId }: ChatViewProps) {
2471 <form2471 <form
2472 ref={composerFormRef}2472 ref={composerFormRef}
2473 onSubmit={onSend}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 data-chat-composer-form="true"2475 data-chat-composer-form="true"
2476 >2476 >
2477 <div2477 <div