fix(web): remove negative margin from agent button - #6391
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 Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 49b1643 This is a trivial CSS change removing a negative margin class ( You can customize Macroscope's approvability policy. Learn more. |
|
closing as already addressed. Its exact one-line patch merged in #7207. |
Summary
-mx-1class from the agent spawn CTA buttonWhy
The negative horizontal margin extended the button beyond its containing content. Removing it preserves the existing internal padding and behavior while correcting the alignment.
User impact
The agent button now follows the container's horizontal bounds in both the web and desktop apps. Desktop bundles this web client, so no desktop-specific component change is needed. There is no interaction or behavior change.
Validation
git diff --check upstream/main...HEADvp fmtGenerated by GPT-5.6 via Codex in T3 Code.
Note
Remove negative horizontal margin from agent spawn CTA button
Removes the
-mx-1Tailwind class from theAgentSpawnCtaRowbutton in MessagesTimeline.tsx, correcting its horizontal alignment within its container.Macroscope summarized 17de002.
Note
Low Risk
Single-class CSS tweak with no logic or behavior changes.
Overview
Removes the
-mx-1Tailwind class from theAgentSpawnCtaRowbutton inMessagesTimeline.tsxso the agent spawn CTA no longer bleeds past the timeline content column horizontally.Padding, click behavior, and status copy are unchanged; only layout alignment with sibling timeline rows is corrected for web and desktop (shared client).
Reviewed by Cursor Bugbot for commit 17de002. Bugbot is set up for automated code reviews on this repo. Configure here.