Repository navigation
Stand the user's messages on the reply box's ground, each owning half its gaps - #7352
Merged
Merged
Conversation
… its gaps The user picked this in the Whose words playground: in a thread's views, the user's messages stand on the ground the reply box takes while they type (--lf-card) and Claude's on paper; each message's ground reaches halfway into the gap on either side of it and out to the view's sides, so no paper stands between messages; and each name wears its party's colour, the user's --lf-ok-ink and the agent's --lf-accent. A message paints its halves of the gaps and its sides as a border image, a ring outside its box, so every word, message box, scroll extent and landing stays where it was on main (probed in Firefox across 14 card, panel and seat states). Holding the halves as padding, tried first, also put the pointer over a message in every gap, but moved every box a landing measures: a returning reader's card landed 12px lower. Claude's messages and working step now rest on paper in every view, as they did in the margin card, so the user's read the lighter in both schemes; in the dark panel and in a seat on a white widget they had taken the host's ground, which put the user's darker there or left the two alike. On a margin card the heads' line takes the user's ground while their head holds it (the first message at the top, later the first beside the actions), so their ground runs edge to edge there, under the fade, and in the room their head leaves as the next message pushes it away. A seat's messages paint out to its frame but not into its top padding, where the frame's corners curve. A forced palette drops the painted grounds. The names' colours apply in a thread's views only, as the grounds do.
leaf-agent
previously approved these changes
Nov 27, 2026
…ssage by its place Nested under the selector list, the right-to-left, first and last rules matched as a list with no key before it, which test_a_rule_s_subject_names_a_key refuses since Chromium then matches them against every element it restyles. Written flat under the transcript, each keeps the specificity and elements it had.
leaf-agent
previously approved these changes
Nov 27, 2026
# Conflicts: # browser/runtime/annotations/annotation-overlay/annotation-chrome.css
leaf-agent
approved these changes
Nov 27, 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.
In a thread's views (the margin card, the panel's thread view and a seat in a widget), the user's messages now stand on the ground the reply box takes while they type (
--lf-card), and Claude's stand on paper. Each message's ground reaches halfway into the gap on either side of it and out to the view's sides, so no paper stands between messages. Each name wears its party's colour. Max picked these settings in a playground on a Leaf page.Each message paints this ground as a border-image ring outside its box, so no word, box, scroll extent or landing moves. I probed this against main in Firefox across 14 card, panel and seat states. Holding the gaps as padding instead also made the gaps hoverable, but it moved where a returning reader lands by 12px.
Where to look:
:has()ondata-lf-beside-actions.Tests: the selected thread-layout, fold, panel-fit and card-face browser tests pass, and the font and theme-token checks pass.