fix(web): fix subagent row left border being cut off - #7207
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 a75d43d Single-line CSS change removing a negative margin class to fix border visibility. Pure styling fix with no runtime behavior impact. You can customize Macroscope's approvability policy. Learn more. |
## What's Changed * fix(web): retry failed thread bootstraps with a fresh id by @SunkenInTime in pingdotgg/t3code#7664 * fix(web): copy terminal selection instead of a blank clipboard by @sethwebster in pingdotgg/t3code#7678 * revert(web): restore sparse hourly usage breakdown by @t3-code[bot] in pingdotgg/t3code#7718 * fix(server): reconcile orphaned provider sessions by @t3-code[bot] in pingdotgg/t3code#7719 * fix(web): fix subagent row left border being cut off by @sameerr03 in pingdotgg/t3code#7207 * fix(web): unify composer control rounding by @kototok903 in pingdotgg/t3code#5957 ## New Contributors * @sethwebster made their first contribution in pingdotgg/t3code#7678 * @sameerr03 made their first contribution in pingdotgg/t3code#7207 * @kototok903 made their first contribution in pingdotgg/t3code#5957 **Full Changelog**: pingdotgg/t3code@v0.0.34-nightly.20260820.1142...v0.0.34-nightly.20260820.1146 Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.34-nightly.20260820.1146
What Changed
The subagent spawn summary no longer shifts outside the clipped chat timeline. Removing its redundant negative horizontal margin keeps the rounded left border visible while preserving the full-width row.
Why
The surrounding work-group layout already balances its negative margin with matching padding. The nested
-mx-1moved the subagent row four pixels past the timeline boundary, where horizontal overflow clipping hid its left edge.UI Changes
Validation
vp fmt --check apps/web/src/components/chat/MessagesTimeline.tsxvp lint apps/web/src/components/chat/MessagesTimeline.tsxvp test run apps/web/src/components/chat/MessagesTimeline.test.tsx(20 tests)git diff --checkvp run devthreadChecklist
Implemented with GPT-5.6-sol in the Codex harness.
Note
Low Risk
Single Tailwind class change on a chat UI row; no logic, API, or data impact.
Overview
Fixes a chat timeline layout bug where the subagent spawn summary row’s left rounded border was clipped.
The
AgentSpawnCtaRowbutton no longer uses-mx-1. That extra negative horizontal margin stacked with the parent work-group’s-mx-1/px-1and pushed the row past the timeline’soverflow-x-clipboundary, hiding the left edge. The row still spans full width inside the group with the rest of its styling unchanged.Reviewed by Cursor Bugbot for commit a75d43d. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Fix
AgentSpawnCtaRowborder visibility by removing negative horizontal marginRemoves the
-mx-1Tailwind class from the CTA button in MessagesTimeline.tsx, restoring the subagent row border visibility that was being clipped by the negative margin.Macroscope summarized a75d43d.