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. |
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 49b1643.
Note
Low Risk
Single-class CSS tweak on a timeline button with no logic or API changes.
Overview
Removes the
-mx-1Tailwind class from the timeline agent spawn CTA (AgentSpawnCtaRow) so the full-width button no longer bleeds past the content column’s horizontal bounds.Padding, hover, and Open Agents behavior are unchanged; this only affects alignment for the shared web timeline (and desktop, which bundles the same client).
Reviewed by Cursor Bugbot for commit 49b1643. Bugbot is set up for automated code reviews on this repo. Configure here.