Skip to content

Stand every thread's summary and text boxes on one frame padding, so no thread scrolls sideways and every box written in is one height - #6803

Merged
max-sixty merged 10 commits into
mainfrom
thread-panel-overflow
Nov 23, 2026
Merged

max-sixty merged 10 commits into
mainfrom
thread-panel-overflow

Conversation

@max-sixty

@max-sixty max-sixty commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

A thread card holding a summary scrolled sideways by a pixel, and the summary's tint stood 10px inside the card on one side and 1px on the other, its words 5px in (Max's report, in Firefox). #6773 cut the card's padding and the thread's text inset, but the tint kept its own offsets, and its end ran past the room the card's scrolling transcript keeps. The tint and its open fold now stand at the frame's padding, as a rewrite's frame does: 7px inside a card, a seated card or the panel on both sides, with the words 15px in. The same pass makes the panel's messages and working steps end their words 15px in (they ended 19px and 27px in), holds a seated card's summary and step words to its messages' width (they ran 902px against 562px), keeps only the gap above each transcript item (a closed summary stood 48px over the next message in the panel and seated cards, 24px in a card), and anchors Resolve to the head's logical end, which in a right-to-left page stood it over the head's words.

Max also asked that every box written in be one size. A card's reply box now takes in the card's padding around its field, as the panel's field does while it holds the caret, and the alt+click comment box is now the frame of the card it becomes, cut to a reply box round its words: as wide as that card, and 44px inside its edge (48px under a finger) like the card's reply box and the panel's field. Words, Send and a press anywhere in each box are unchanged, the comment box reserves the same room so it opens where it did, and the card Send opens grows out of it with no word moving. Its focus ring stands inside its edge, drawn over an error as #6800 draws the card's.

Every thread frame now reads one padding token, --lf-thread-pad, and --lf-thread-frame adds the frame's one-pixel edge. It takes in --lf-fp-row-pad, the panel's padding since #6801, which is 7px under a finger, so under a finger a card's padding grows to 7px and words stand 16px in everywhere. Under a mouse the panel, cards and summaries draw as before, except that Send and Dictate in a card's reply box now stand centred, their insets taken inside the box's own border.

To weigh: under a finger, cards gain a pixel of padding to match the panel. browser/AGENTS.md now says a field running to its frame's edges adds the frame's padding to --lf-line, as the card's reply box, the comment box and the panel's focused field do.

Tests: the focused browser tests for summaries, card replies, rewrites, thread layout, Send placement, the comment box at rest and open, pictures on a comment, the panel's thread, field and row, and rings over errors pass, as does pnpm run check. New tests hold a comment box to its card's width and reply box height, and its ring over an error; new stills states show a summary in the panel and an error over the comment box.

This was written by Claude Code on behalf of max-sixty

…adding

A thread card scrolled sideways by a pixel whenever it held a summary,
and the summary's tint stood 10px inside the card on one side and 1px on
the other, its words 5px inside it. #6773 cut the card's padding and the
thread's text inset, but the tint kept its own offsets (3px inside the
words' start, 6px past their end), so its end ran past the 5px the
transcript keeps at its edge. The tint now starts at the frame's padding,
as a rewrite's frame does, and ends at the messages' edge, so it stands
7px inside the card, the panel or a seated card on both sides with its
words 15px in, as every message's are. --lf-summary-edge and
--lf-group-ring-end are gone.

The panel's thread view kept 12px of room at its transcript's end, which
its message heads reached back into (#6672, #6745), so an agent's words
ended 19px from the panel's edge and the user's 27px. The transcript now
runs to the view's padding, as a card's runs to the card's, every message
ends its words the thread's inset in, and the heads end where they did
without the negative margin.

A card's reply box ran to the card's foot by moving down rather than
growing, so it stood 32px tall with its focus ring inside, shorter than
the panel's field, whose box takes in the row's padding while it holds
the caret (44px), and than the alt+click comment box (36px with its
ring). The card's and a seated card's reply box now take in the card's
padding all round the field as a transparent border, 44px like the
panel's, with the words, Send and pictures where they stood. Send and
the error cover sit in the padding box, so they no longer cover the ring.

A new stills state, summary-panel, shows a summary in the panel's view.
Tests changed with the behaviour: a rewrite in a card matches the reply
box's height less the card padding the box takes in, and in the panel
the user's words now end where the agent's do.
…tands one gap from what follows

In the floating panel and a seated card, whose transcripts are block flow,
a closed summary stood 48px above the next message where a card stood it
24px: the checkpoint's bottom margin and the message's top margin never
collapsed, since the fold's hidden messages between them are boxes of
their own (content-visibility: hidden contains their size). A summary
ending a thread added the same 24px over the reply field. The card's grid
had zeroed those bottom margins in a rule of its own. Now a checkpoint
and a folded message keep only the gap above them, as every message
already does, and the card's rule is gone.
…ches them, and keep every head and step on the thread's edges

The card's reply box took in the card's padding as a transparent 7px
border, which a press could land in and leave the words (Codex's review:
4px inside the edge took focus to the thread), and which forced colours
painted solid black. The words now take that band in their padding, Send
and Dictate in their insets (`--lf-compose-action-end`, and a new
`--lf-compose-action-foot`), and the field's least height in
`--lf-compose-h`, so the box keeps its 44px (48px under a finger, as the
panel's) and a press anywhere in it reaches the words.

Resolve, beside a thread's first head in a seated card, stood 15px from
the card's edge when a summary opened the thread and 7px beside a
message: the summary's head sat inside its region's new end padding. Its
margin now takes that padding back. It is also anchored to the head's
logical end, so in a right-to-left page it no longer stands over the
head's words.

A working step's words now end the thread's inset in, as a message's
do, in a card, a seated card and the panel, and a seated card holds a
summary's words and a step's to the messages' width.
…ry words to that width under a mouse

The seat capped a summary's words and a step's at a message body's
width, but only a message's words pay its end padding inside that box,
so at 923px they wrapped at 902px against the messages' 562px. A step's
words now pay the same end room, and a summary's the inset its region
keeps at their end.

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm leaving this as a comment rather than an approval because of the one point the description asks the maintainer to weigh. The card reply box grows to 44px when focused (the --lf-compose-h override in response.css). That contradicts browser/AGENTS.md, "Shared containers determine control dimensions": "A one-line control's visible height is --lf-line". The panel's focused field already breaks the same sentence. So the rule no longer describes either surface. If the 44px box stays, rewording the rule in this PR keeps the guidance in step with the code. One wording: a box that takes in its frame's padding shows that padding beyond --lf-line. Otherwise the rule should hold, and the card reply keeps its 32px box. Either way, the next change that reads the rule won't be measuring against a height no surface keeps.

…ds the frame's padding to --lf-line

The card's reply box now shows 44px (48px under a finger) as the floating panel's
focused field already did, so the rule that a one-line control's visible height is
--lf-line described neither. The review on #6803 asked for the guidance to follow the code.
leaf-agent
leaf-agent previously approved these changes Nov 23, 2026
… thread frame one padding token

Max picked growing the alt+click comment box to the reply boxes' height. The floating
comment box now runs to the card's sides and over the card's edge and padding above and
below its field, taking that band back in its words' padding and its actions' insets,
so it is 44px inside its edge like the card's reply box, and its words, Send and Other
responses stand where they stood. Its frame reserves the same room, so placement is
unchanged, and its focus ring stands inside its edge. The seated comment box and a
rewrite keep their size.

Max also took up one padding token for every thread frame: `--lf-comment-inset` becomes
`--lf-thread-pad`, read by the margin card, the seated card, the comment box and the
floating panel, whose head, controls, row rule and view read it in place of literal
6px; `--lf-thread-frame` is that padding with the frame's one-pixel edge, so no rule
adds the edge by hand. The stills show no pixel changed in the panel, cards or
summaries.

The fab editor's end padding reads Send's room, or under a mouse its start padding,
in place of `--lf-comment-text-end` less a pixel; the two give the same widths for the
seated box. New test: a comment box is as wide as its card and, inside its edge, as
tall as that card's reply box.
…ad padding token

Main's #6801 made the panel's padding `--lf-fp-row-pad` (7px under a finger) and #6800
drew the card reply box's inset ring on its ::after. Resolving both against this branch:

- `--lf-fp-row-pad` becomes `--lf-thread-pad`, now 7px under a finger, so the panel, a
  card, a seated card and the comment box read one padding; under a finger a card's
  padding grows a pixel and every thread's words stand 16px in, as the panel's did.
- A card's reply box takes Send's and Dictate's insets inside its own pixel border, so
  they stand centred (they stood a pixel high under a mouse) and under a finger the box
  is the line and the padding, 48px, as the panel's field and the comment box are. The
  card's reply row then has one formula under either pointer.
- The comment box draws its inset ring on its ::after, over an error about it, as the
  card's reply box does, and its error stands inside its pixel edge with its rounding.
  New stills state `triage-composer-error` and a test for its ring.
@max-sixty max-sixty changed the title Stand a thread's summary and reply box on its frame's padding, so no thread scrolls sideways Stand every thread's summary and text boxes on one frame padding, so no thread scrolls sideways and every box written in is one height Nov 23, 2026
leaf-agent
leaf-agent previously approved these changes Nov 23, 2026
…e panel's New reply foot at the view's padding

The resting comment box's 12px corner moves from annotation-chrome.css into controls.css, keyed by the bar's `data-lf-rest`, since a surface sets a press's type and density and its role draws its face (test_a_press_wears_its_role_s_face_alone). The panel's New reply foot read `--lf-fp-transcript-room`, which the merge with main left unset once the transcript stopped keeping room at its end, so its margins fell to 0 and New reply stood 4px right of the view's centre; it now gives back the view's padding alone and stands centred again.
leaf-agent
leaf-agent previously approved these changes Nov 23, 2026
@max-sixty
max-sixty merged commit 49007d7 into main Nov 23, 2026
5 of 6 checks passed
@max-sixty
max-sixty deleted the thread-panel-overflow branch November 23, 2026 04:39
max-sixty added a commit that referenced this pull request Nov 23, 2026
…e's Reply inside its card

The search's scope chip stood 2px from the field's end, and its steps' faces met
the field's top, bottom and end with rounded corners. Both now stand `--lf-clear`
(4px) inside the field: the chip by its margin, with a chip's corners
(`--lf-chip-r`), and the steps by a face a line tall less that room above and
below, with the actions keeping that room at the field's end.

On Me's Reply hung its word into the card's margin by its whole inset, so its face
stood 1.5px from the panel's edge and 5px past the card's own edge, across the ring
a walked card wears. It no longer hangs: its face starts on the card's text edge,
6px clear of the ring, so its word stands 13px further in than the card's text.

The merge of main brings #6803, after which the comment box's Dictate stands 5px
and 8px clear of a card's edges, so it needs no change here.
max-sixty added a commit that referenced this pull request Nov 23, 2026
Under a finger a card's reply box keeps Send's room at the end of every
line (`--lf-field-end-room`, text-field.js), and it reckoned that room
from where Send stands. Send stands centred inside the box's own border
(#6803), a pixel nearer the edge than the room a message keeps
(`--lf-comment-text-end`), so the reply's words ran a pixel past the
message they became: 976.27 against 975.27 in a seated card, 1358
against 1357 in a margin card. A word ending in that pixel moved to the
next line at Send.

The room now comes from `--lf-comment-text-end`, less the words' inset,
which the field's end padding already keeps past the band the box runs
over. Under a mouse the room stays Send's corner, and nothing changes.
In both cards, and in the seat's comment box, the words now end where
the message's do under either pointer.

The browser test now covers the seat's comment box and its card's reply
box, each under a mouse and under a finger, and checks both where the
words may run to and the lines they break into through Send. Against
main, the comment box fails under both pointers and the reply box under
a finger.
leaf-agent added a commit that referenced this pull request Nov 23, 2026
#6803 made every box written in one height: a field at its frame's edge
takes the frame's padding (`--lf-thread-pad`) on either side of its
line,
and the alt+click comment box wears a one-pixel edge round that. Four
tests still read the old geometry; none of them catches a change in
behavior.

- The compact comment box's height is now read as `--lf-line` plus twice
  `--lf-thread-pad` plus its edge (46px under a mouse), as
  `test_a_comment_box_is_the_frame_of_the_card_it_becomes` holds it.
- A diff conversation's resting reply box is held to a card's reply box,
  `--lf-line` plus twice `--lf-thread-pad` (44px), rather than to a bare
  line.
- The side-comment test typed lines while one more would leave the box's
  foot short of the window's foot (`< foot`). With the new box one more
  line landed exactly on the foot, so the box never needed to shift up
  and the test's premise failed. It now types while one more line still
  fits (`<= foot`), so the next line always goes past the foot.
- The sent-drawing test compared the field's border-box top with the
sent
message's text box. The comment box's field now carries 12px of padding
  under a finger, so those boxes differ by 7px while the words stand at
  the same place (209.14px before and after Send). It now compares the
  first line of words: the field's top plus its padding against the sent
  text's first line.

All four failed on main at 39ee727 and pass with this change; the side
comment and drawing tests also pass on #6803's parent, so they hold the
same behavior on either geometry.

Closes #6849 — automated triage

Co-authored-by: leaf-agent <[email protected]>
max-sixty added a commit that referenced this pull request Nov 23, 2026
#6773 stated a rule in `browser/AGENTS.md`: a box inside a frame either
meets its edge, taking the frame's rounding at the corners they share,
or stands clear of it. A survey of every box Leaf draws inside a frame
found 57 that meet or nearly meet an edge with the wrong corners. This
fixes 49 of them, and the defects of the same kind two fresh reviews
found; #6803 fixed two more.

- Leaf's word and symbol presses and its reactions draw their focus ring
inside their edge, set once per role, so a frame's edge no longer cuts
it; the panel's leaf keeps its ring on its edge, where its badges would
otherwise cover it. A code block's lone Copy, which takes the focus on
its own toolbar, rings inside that toolbar's edge rather than 3px
outside it, where the ring ran onto the block's edge.
- A holder whose presses join into one control declares
`data-lf-joined`, as a block's toolbar and a question's Done cell do:
each press is square at the seams and takes the holder's rounding at its
corners. The press-face guard allows only a declared variant, and a clip
would cut a finger's reach past the toolbar, so the corners are
per-corner radii from a holder token.
- In a question's joined options, every cell standing in one of the
group's corners takes its rounding there, in a stack and laid across, so
a pick's ring and the keyboard's stay whole round the corner instead of
thinning where the group's clip cut their square corners. Done joins as
a cell: no edge of its own, where it drew a second one inside the
group's, and its cell wears its ring, as a row wears its mark's. Done's
digit and Add's stand in the column every card's digit shares.
- `--lf-clear` (4px at every density) is the least room that reads as
standing clear, and the toolbars, a board card's grip, Add, a
suggestion's contents and a diff filter's fold-all stand that far from
their frame. `--lf-r-in`, a frame's rounding inside its hairline,
replaces five copies of that length. A pane clips to its rounding, and a
comment box's key badge stands centred on its line, clear of the box's
foot.
- In the panel, the search's scope chip and its steps stand `--lf-clear`
inside the field, the steps' faces a line tall less that room above and
below, and the match count `--lf-clear` before the first step. On Me's
Reply no longer hangs its word into the card's margin, where its face
crossed the ring a walked card wears; controls.css now says a seat hangs
a press only into a margin that leaves `--lf-clear` at the frame's edge.

Worth a look in use: a bordered button's focus ring now lies over its
border (Max may revise this; the square-corner rule itself is on trial).
On Me's Reply now lines up its face with the card's text edge, where its
word used to stand, so the word sits 13px further in. A lone titled
option laid `across` now counts as stacked, since it shares its row with
no sibling; its chips no longer float beside its state mark. The other
six findings are measurement artifacts, an example page's own button,
and the diff gutter's +, left 2px inside its line. Max asked for the
survey and the fixes; the before/after pairs are on the decision page.

Part of #4125: rings on Leaf's presses keep inside a scroller's clip;
rings on other boxes, and scrollers that keep no room, remain.

Model tests for faces, rings and tokens pass, apart from the skill-file
size check, which main fails too (`module-input.md`, from #6816), as do
focused browser tests for Done, drafts, code Copy, boards, Add, diff
controls, panes, the file tree, rings, workspaces and reactions.

> _This was written by Claude Code on behalf of max-sixty_

---------

Co-authored-by: Claude <[email protected]>
max-sixty added a commit that referenced this pull request Nov 23, 2026
…t a gap under the cards above (#6831)

Closes #6714.

#6773 answered #6714's question: a seated thread card's reply box runs
to the card's sides, and its words still wrap where they will once sent.
The comment box a seat opens (a diff line's or file's Comment, a
visual-review case, a command hub row) didn't follow that rule. It keeps
the row's width, as the card its comment becomes will, but its words
wrapped at the row's width: 827.5px under a diff line and 683px in the
command hub, where the seat's messages and reply box wrap at 562px. Any
comment long enough to wrap rewrapped at Send. This applies #6773's
stated rule to that box (the first commit), stands the box a gap under
the cards above it (the second), and makes a card's reply box keep the
rule under a finger too (the third).

**Words.** The box's words now end where the message they become will,
`--lf-comment-text-end` inside the seat's column: 562px wide under a
mouse and 517px under a finger, the same as the sent message in both
(827.5px and 782.5px before, under a diff line). Widening #6773's
selector to cover this box would have left its words 10px past the
column, at 572px: the box's field stands at the card's padding rather
than running to the card's sides, so the reply box's formula doesn't fit
its geometry. Its own rule keeps, past its end inset, the room by which
its field is wider than the seat's column, so it holds with or without
the command hub's Send & pause beside the field.

**Gap.** The box stood flush under the card above it in a diff and a
visual case, so that card's reply box and the comment box read as one
conversation's two fields. Only the command hub's theme kept a gap there
(`examples/command-hub.page/theme.css`), for that reason, which holds
for every seat. Core now keeps the gap beside the one between a seat's
cards, and the hub's copy goes. It's the cards' gap, `--lf-sp-2`, not
the hub's `--lf-sp-3`: the card a comment becomes lands that far under
the card above it, so the box now stands where its card will. On the
diff gallery's long line conversation and the hub's goal row, the box's
top and the sent card's top are the same pixel. The hub's gap narrows
from 10px to 6px, and the diff's opens from 0 to 8px.

**A reply under a finger.** Under a finger a card's reply box keeps
Send's room at the end of every line (`--lf-field-end-room`,
`text-field.js`), and it reckoned that room from where Send stands.
Since #6803 stood Send centred inside the box's own border, that room
has been a pixel short of the one a message keeps, so a reply's words
ran 1px past the message they become: 976.27 against 975.27 in a seated
card, and 1358 against 1357 in a margin card. A word ending in that
pixel moved to the next line at Send. The room now comes from
`--lf-comment-text-end`, the same statement of where a message's words
end that the comment box's rule reads, so both boxes in a seat, and the
margin card's reply, end their words where their message will under
either pointer. Under a mouse nothing changes.

A diff line's comment box under the conversation the line holds
(`diff-line-comment`, a new state), before and after:

![Before: the comment box flush under the card, its words running to the
row's
end](https://github.com/user-attachments/assets/fa7ba221-abac-49c0-bf0d-cc3ec91b9c58)
![After: the comment box a gap under the card, its words wrapping at the
column the card's messages
use](https://github.com/user-attachments/assets/387d8b2f-e277-4d0b-bb6e-77847df558c7)

The same, under a finger (`--touch`):

![Before, under a finger: the comment box flush under the card, its
words running past the messages'
column](https://github.com/user-attachments/assets/85ab5dfe-4f1f-4e89-9c4c-e401b78ca92a)
![After, under a finger: the comment box a gap under the card, its words
wrapping at the messages'
column](https://github.com/user-attachments/assets/53e5fa85-dc6c-428f-93d2-55c8a2c144ed)

The command hub's goal row (`hub-seat-comment`), before and after:

![Before: the comment box 10px under the card, its words running to the
field's
end](https://github.com/user-attachments/assets/3c68c324-b74f-4e6e-ae6c-0abc56578ed3)
![After: the comment box 6px under the card, its words wrapping at the
messages'
column](https://github.com/user-attachments/assets/bc1b7b60-ab6f-4e7f-9a99-aaadf72d0d68)

Crops from `uv run leaf-dev stills --authored`, with and without
`--touch`, against `main` at 49007d7.

The reply states draw the same pixels under both pointers
(`plan-card-reply-large`, `diff-file-reply`, `hub-seat-held-news`): the
reply's pixel sits inside the field's closed shadow root, which stills
don't read, and moves no line of those drafts. The test below measures
it. Also unchanged under a mouse: the margin card's floating comment box
(`triage-composer-long`), and two empty seat boxes with no card above
them (`walkthrough-diff-comment`, `diff-file-comment`), where the room
kept for Other responses still sets the end padding until the first
word.

`hub-seat-comment` now types a draft long enough to wrap, and the new
`diff-line-comment` state opens a line's comment box under the
conversation that line holds. The new browser test,
`test_a_seat_s_boxes_break_their_lines_where_their_messages_will`,
covers the seat's comment box and its card's reply box, each under a
mouse and under a finger: it sends a wrapping draft and checks both
where the words may run to and the lines they break into. Against
`main`, the comment box fails under both pointers and the reply box
under a finger.

Tests run by node id, all passing: the four cases of the new test;
`test_the_user_s_words_end_where_the_agent_s_do[panel]` and `[seat]`;
every case of `test_a_rewrite_is_the_reply_box_where_the_words_stood`;
`test_a_rewrite_under_a_finger_keeps_its_message_head`;
`test_a_rewrite_keeps_its_pair_while_its_head_sticks_beside_the_actions`;
`test_contextual_messages_share_text_spacing_through_send_and_reopen[desktop]`
and `[touch]`; `test_a_finger_opens_a_card_on_its_thread`;
`test_command_goal_can_pause_after_an_ordinary_thread_started`;
`test_atlas_send_and_pause_is_one_thread_fold`;
`test_a_seat_send_at_the_window_foot_shows_the_thread_it_started`;
`test_a_seat_box_grown_by_a_paste_keeps_its_send_above_the_panel`;
`test_a_narrow_box_keeps_its_label_whole_and_drops_its_new_line_key`;
`test_a_file_s_comment_opens_inline_where_the_file_ends_below_the_window`;
and `test_a_widget_seats_the_thread_about_itself_and_none_inside_it`.

> _This was written by Claude Code on behalf of max-sixty_
leaf-agent added a commit that referenced this pull request Nov 23, 2026
…test both comment boxes' words from their card's edge (#6874)

This PR measures where each comment box's words start and end from its
card's outer edge. Measured that way, the journey found a seated box in
a diff standing its words 4px off its card's, which this PR fixes in
`response.css`. It also updates the nightly test #6871 reported, which
still read the alt+click box's geometry from before #6803.

**The fix.** If an alt+click comment box has been opened earlier in the
session, a box later seated in a diff stood its field and words 4px
right of where its card puts them: 19px from the card's edge, where the
card puts them at 15px under a mouse (20px and 16px under a finger). So
Send moved them sideways. The floating box's surface layer
(`.lf-fab-ground`, from `box-motion.js`) stays in the one native bar
when the bar seats. The rule that hides it is in
`annotation-chrome.css`, scoped to `.lf-chrome`, and doesn't reach a
widget's shadow tree. Left in flow, the empty layer took the bar's 4px
`gap` before the field. `response.css` now hides it in the seated
presentation.

Seated diff comment box, mouse, light, after an alt+click box was opened
(before → after):


![before](https://github.com/user-attachments/assets/f276f531-7278-4ec1-bd47-90c1a272b1ff)
![after](https://github.com/user-attachments/assets/331e4ad2-d30b-4819-9b70-208916e3bece)

**The test.**
`test_response_and_message_reading_keep_their_face_across_shadow_seating`
compared the two boxes' field padding after subtracting the frame, so a
change to the seated card's own inset could move its words with no
compared value changing. It now reads each editor's text start, end and
top from its card's actual outer edge. For the floating box that is the
frame `.lf-compose-field`; for the seated box it is the bar, which
stands where its card will. Start and end must match between the two
boxes, before and after typing. In the block direction, the floating
frame also runs over the card's edge and padding above the field, so its
words stand the frame lower (`frame + 12`) than the seated box's (`12`,
the author's inset). The mouse/touch parameters, the author's inset and
action overrides, the `::after` forced-colors ring, and the Markdown
reading checks are unchanged.

Verified with `uv run pytest --run-nightly <node-id> -n0`:

- Both parameters fail on main at 1bf9209 with the issue's `(18.0 + 1)
== 12`.
- With only the test change, both fail on the 4px shift: `{'start': 19,
…} == {'start': 15, …}`.
- With the CSS fix, both pass.
- Widening the seated card's padding by 2px also fails both.

The focused browser tests for seated diff threads and inline comments
pass as well.

Closes #6871 — automated triage

---------

Co-authored-by: leaf-agent <[email protected]>
Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants