Repository navigation
fix(chat): the seen popover's list clips at its rounded edge, not above a band of padding - #670
Merged
Merged
Conversation
…ve a band of padding The popover had p-3 around a scrolling list, so the half-cut last row was chopped 12px above the box's bottom edge, with a strip of padding under it. Now the box (rounded, overflow-hidden) has no padding of its own: the title has its own, and the list scrolls right to the box's bottom and sides, its bottom padding inside the scrolled content. A cut row runs under the edge; scrolled to the end, the last row still has 12px under it. The pinned "Pessoas"/"Agents" labels work as before. The hover bridge over the gap to the faces is now the wrapper's pb-2 (a ::before outside the box would be clipped). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What
The "Visto por" popover's list now clips at the popover's rounded edge. A half-cut last row runs under the bottom edge instead of being chopped above a band of padding. Scrolled to the end, the last row still has 12px of room under it.
Why
Valls, in production: with many readers, the cut last row sat above a strip of popover padding, so it looked chopped inside the box (
p-3around a scrolling list).What changed in
web/features/chat/MessageFooter.svelte:overflow-hidden) has no padding of its own. The title has its own padding.pb-2. A::beforeoutside the box would be clipped byoverflow-hidden.Checks run
bun run check: passbun test --conditions=browser scripts/ui-panels.test.ts: 177 pass. The popover test now checks the box clips with its radius, the list has no side/bottom padding of its own, and the bottom room scrolls with the rows.bun test scripts/chat.test.ts scripts/read-receipts.test.ts: passbun run screens -- --receipts(before on main, after on this branch): pass. It includes the slow pointer path from the faces into the popover, so the hover bridge still holds.Router bench
not touched
Deliberate decisions
none
Screens
12 readers, top. Before: the cut row sits above a padding band.


After: the cut row runs under the rounded edge.
12 readers, scrolled to the end. Before:


After: 12px under the last row, "Agents" pinned.
Small case (unchanged). Before:


After:
🤖 Generated with Claude Code
Summary by cubic
Fixes the "Visto por" popover so its readers list clips at the box's rounded edge instead of above a band of padding. In production, a half-cut last row appeared chopped inside the box, with a padding strip underneath.
web/features/chat/MessageFooter.sveltefrom the box to the title and the scrolled list content, so the list scrolls right to the box's edges and a cut row runs under the edge.pb-2.scripts/ui-panels.test.tsto assert the box clips with its radius and the list has no side or bottom padding of its own.Written for commit e024f3c. Summary will update on new commits.