mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-11-17 13:33:45 +00:00
A queued follow-up or failed steer row longer than the composer widened the whole composer column to the text's own length instead of truncating: the row's controls left the viewport, the composer ran under the side panel, and the chat pane grew a horizontal scrollbar. The row's text is `nowrap` with `min-w-0 flex-1 truncate`, but nothing caps its width, so its min-content width propagates up through the chips column and the composer surface to the form's `flex-1` child. That child is a flex item with `min-width: auto`, so its automatic minimum becomes the text's width and the form cannot shrink it. The quote and skill chips beside it never trigger this only because each carries a fixed `max-w-`. `min-w-0` on that column wrapper lets it shrink to the form again; everything below it is already `w-full` or `overflow-hidden`, so the text truncates where it was meant to. The queue e2e test now queues a paragraph wider than the composer and asserts the row ends inside the form with its remove button fully in the viewport; it fails on the previous build by 2119px and passes on this one. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| sw | ||
| test | ||
| babel.config.cjs | ||
| check_updates.sh | ||
| index.html | ||
| jest.config.cjs | ||
| jest.resolver.cjs | ||
| nginx.conf | ||
| package.json | ||
| postcss.config.cjs | ||
| tailwind.config.cjs | ||
| tsconfig.json | ||
| vite.config.ts | ||