Skip to content

Keep debug buttons inside one-line chat messages - #249

Merged
MaggieAppleton merged 1 commit into
Maggie/jev-chat-productfrom
maggie/jev-010-debug-height
Oct 3, 2026
Merged

MaggieAppleton merged 1 commit into
Maggie/jev-chat-productfrom
maggie/jev-010-debug-height

Conversation

@MaggieAppleton

@MaggieAppleton MaggieAppleton commented Oct 3, 2026 •

Copy link
Copy Markdown
Collaborator

Removing the inline chat pills leaves a one-line message 24px tall, but its visible debug button is 28px tall. Reserve 28px of message height when a diagnostics control exists so the button remains inside its message.

This follows the combined behavior of #243 and #245. The image shows the actual rendered Chat component; outlines mark measured message and button bounds.

Validation: the unchanged native containment test reproduced the 4px overflow before this patch and passes afterward at both narrow and desktop widths. All 26 affected native tests pass in the combined candidate. Independent source review approved the four-line CSS change; formatting and repository CI pass on this branch.

Before and after reserving message height for the debugging button on one-line messages

@MaggieAppleton
MaggieAppleton force-pushed the maggie/jev-010-debug-height branch from 12b8032 to cdfdaa4 Compare October 3, 2026 06:10
@MaggieAppleton
MaggieAppleton merged commit 43866cc into Maggie/jev-chat-product Oct 3, 2026
3 checks passed
@MaggieAppleton
MaggieAppleton deleted the maggie/jev-010-debug-height branch October 3, 2026 06:18
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.

1 participant