Repository navigation
Draw a rewrite's focus ring outside it, as the reply box's is - #2832
Merged
Merged
Conversation
The rewrite field drew its ring inside its border while the reply box beside it drew one outside. An outward ring lost its left and bottom sides: the margin card's transcript scrolls and kept no room past its edges beyond an open progress group's border at its end, and the rewrite reaches back over the transcript's text inset to the reply box's edges. The transcript now keeps room past its inline sides and its foot for whatever is drawn beyond a box, the larger of a focus ring and a progress group's border (`--lf-transcript-room`), taken from the card's inset so the words keep their place and width. The rewrite's inset-ring rule is gone. The card's actions also painted their ground over the right side of a focused Edit or Save ring at the message's head. Their ground now stands beneath the head's controls, which stop short of the actions. A test now checks the pixels on each side of the Edit, rewrite field and Save rings in a just-sent comment's card. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The rewrite field from #2813 drew its focus ring inside its border, while the Reply box draws its ring outside. A ring drawn outside lost its left and bottom sides. The margin card's transcript scrolls, and it kept no room past its edges beyond a 6px band at its end for an open progress group's border. The rewrite reaches back over the transcript's text inset to the Reply box's edges, so its ring ran past the transcript's edge and was clipped.
Now the transcript keeps room past its inline sides and its foot for whatever is drawn beyond a box: the larger of a focus ring and a progress group's border (
--lf-transcript-room). That room comes out of the card's inset, so the words keep their place and width. The rewrite's inset-ring rule is deleted, and its ring matches the Reply box's.The card's actions (✓ ×) also painted their opaque ground over the right side of a focused Edit or Save ring at the message's head. That ground now sits beneath the head's own controls, which stop short of the actions.
A new pixel test checks every side of the Edit, rewrite-field and Save rings in a just-sent comment's card. Without the transcript room the field ring's left and bottom sides fail; without the stacking change the Edit ring's right side fails.