Repository navigation
fix(web): align wrapped "Read more" link with update toast text - #47795
mikeozornin wants to merge 3 commits into
Conversation
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This adjusts spacing and keeps the update toast’s “Read more” link together when text wraps. Link navigation and update behavior remain unchanged. You can add or adjust custom eligibility rules. Learn more. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
The button lays out as one atomic inline box, so its label already stays together; the wrap offset fix is the collapsible space alone. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
/recheck-vouch |
Problem
In the "Update downloaded" toast, "Read more ↗" wraps onto its own line and starts 8px right of the description text instead of lining up with the left edge. The link button has
ml-2to separate it from the sentence, and that margin stays after the line break. Seen on macOS in desktop 0.1.14-nightly.20261202.5611 and reproduced on currentmain.Change
Remove
ml-2from the link button and put a plain space before it. A space collapses at a line break, so the wrapped link sits flush with the description text. When the link fits on the same line, the space separates it from the sentence. The button lays out as one inline box, so "Read more ↗" already stays together.Scope
Small fix for an obvious visual bug in one component, so no issue. #6322 fixed this link's vertical baseline. This PR fixes the horizontal offset when it wraps.
Verification
I ran the web client via
vp run devin isolated state, triggered the real toast by callingshowDesktopUpdateDownloadedToastfrom the Vite module with a fake downloaded-version state, and measured the left edges withgetClientRects():Not checked: the packaged Electron build and dark mode. The change only touches spacing inside the toast description, which is the same web component in every client.
Reviewed with sol-loop: 1 round with GPT-6.2 Sol on high and Gemini 4 Neon on high. Verdict: approved by both.
Created with Claude Opus 5.5 in T3 Code. Description written with Gemini 4 Neon.