Reduce composer idle min-height to reclaim vertical space#2369
Reduce composer idle min-height to reclaim vertical space#2369NatnaelTaddese wants to merge 1 commit intopingdotgg:mainfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ApprovabilityVerdict: Approved A single Tailwind class change reducing the composer's minimum height from ~70px to ~24px. Purely visual adjustment with no runtime behavior impact. You can customize Macroscope's approvability policy. Learn more. |
What Changed
Changed
min-h-17.5→min-h-6on theContentEditableinComposerPromptEditor.tsx, reducing the idle minimum height from ~70px to ~24px.Why
When idle (especially while an agent is working), the empty composer takes up excessive vertical height. Reducing the min-height reclaims that space for the conversation/event view without affecting the expand-on-content behavior (max-height remains at 200px).
UI Changes
Before:

After:

Checklist
Note
Low Risk
Low risk UI-only change that adjusts the composer’s default height; main risk is minor layout/UX regressions in the editor’s empty/disabled states.
Overview
Reduces the
ComposerPromptEditorContentEditableminimum height (min-h-17.5→min-h-6) to reclaim vertical space when the composer is empty/idle, while keeping the existingmax-h-[200px]growth behavior.Reviewed by Cursor Bugbot for commit d45ada4. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Reduce composer idle min-height to reclaim vertical space
Reduces the
ContentEditableminimum height inComposerPromptEditorfrommin-h-17.5tomin-h-6, so the composer renders shorter when empty or sparsely populated.Macroscope summarized d45ada4.