Fix chat composer overflow by allowing form to shrink - #147
Merged
Merged
Conversation
- Replace composer form `min-w-fit` with `min-w-0` in `ChatView` - Prevent overflow and improve responsiveness in narrow containers
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
piero-dev25
added a commit
to piero-dev25/devgame
that referenced
this pull request
Aug 15, 2026
…o-Unity (design) Design-ahead-of-gate frozen spec for increment 2b.2 (NOT implemented; gated on A4 + B). Two upgrades to the read-only Generation panel: (A) live server-pushed progress replacing the 5s poll (mirror SpaceEvents server shape + EditorPresence client), and (B) an async one-click "Import to Unity" web trigger (mirror UnityCommandRoute; extract a threadId-free import core from the MCP handler). Seams verified at file:line and independently critic-reviewed (all 5 load-bearing claims confirmed). Critic findings folded in: nest the WS route as /generation/events so it inherits the dev-proxy prefix (avoids a pingdotgg#115-shape hung WS); make import ASYNC/job-handle to avoid reproducing pingdotgg#147's false-"failed"; keep the updateJob broadcast cheap + route-enriched to avoid dragging new deps into the hard-won GenerationService ancestor-provide graph; wrap updateJob once (covers all 5 transitions incl. the catchCause defect handler); debounce broadcasts; self-contained stateless import deps; in-flight import guard. Security: reuse AuthPresenceCommandScope (desktop-owner only, not remote-browser-exposable). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
min-w-fitwithmin-w-0on the chat composer form inChatView.Testing
Note
Low Risk
Low risk CSS-only change that adjusts the chat composer form’s minimum width to avoid overflow in constrained layouts.
Overview
Prevents horizontal overflow in
ChatView’s chat composer by changing the form’s Tailwind min-width frommin-w-fittomin-w-0, allowing it to shrink properly in narrow/constrained layouts.Written by Cursor Bugbot for commit 31b515c. This will update automatically on new commits. Configure here.
Note
Fix chat composer overflow by set the ChatView form min-width to
0in ChatView.tsxUpdate the input bar form class from
min-w-fittomin-w-0inChatViewto allow shrinking within its container.📍Where to Start
Start with the form element inside
ChatViewin ChatView.tsx.Macroscope summarized 31b515c.