Skip to content

Fix chat composer overflow by allowing form to shrink - #147

Merged
juliusmarminge merged 1 commit into
mainfrom
t3code/cap-composer-max-size
Mar 2, 2026
Merged

juliusmarminge merged 1 commit into
mainfrom
t3code/cap-composer-max-size

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Mar 2, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Replace min-w-fit with min-w-0 on the chat composer form in ChatView.
  • Allows the composer to shrink correctly in constrained layouts instead of forcing horizontal overflow.

Testing

  • Not run (content generated from provided diff/commit metadata).

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 from min-w-fit to min-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 0 in ChatView.tsx

Update the input bar form class from min-w-fit to min-w-0 in ChatView to allow shrinking within its container.

📍Where to Start

Start with the form element inside ChatView in ChatView.tsx.

Macroscope summarized 31b515c.

- Replace composer form `min-w-fit` with `min-w-0` in `ChatView`
- Prevent overflow and improve responsiveness in narrow containers
@coderabbitai

coderabbitai Bot commented Mar 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch t3code/cap-composer-max-size

Comment @coderabbitai help to get the list of available commands and usage tips.

@juliusmarminge
juliusmarminge merged commit 094859b into main Mar 2, 2026
4 checks passed
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant