fix(threads): reduce dead space around root message in thread drawer#344
Merged
fix(threads): reduce dead space around root message in thread drawer#344
Conversation
The root message section had two sources of excess whitespace:
1. hideTrack={false} forced a visible scrollbar gutter on the Scroll
component even when the message fit within the 200px max-height and no
scrolling was needed. Changed to hideTrack (default true = hidden) so
the gutter only appears when actually scrollable.
2. padding: S400 0 S200 0 (16px top / 8px bottom) on the root message box
was adding significant dead space above the message content that
compounds with the Message component's own internal padding.
Reduced to S200 0 S100 0 (8px top / 4px bottom).
Contributor
Author
dozro
approved these changes
Mar 17, 2026
Contributor
Deploying with
|
| Status | Preview URL | Commit | Alias | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! | https://pr-344-sable.raspy-dream-bb1d.workers.dev | 8dba3af | pr-344 |
Wed, 18 Mar 2026 13:47:05 GMT |
7w1
approved these changes
Mar 19, 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.

Problem
The root message section in the thread drawer had excessive padding (
S400top /S200bottom), leaving a large gap above short root messages and pushing replies further down the screen.Fix
Reduce the padding to
S200top /S100bottom so the root message sits closer to the header and the replies section. ThemaxHeight: 200pxconstraint andScrollwrapper are unchanged — long root messages still scroll correctly.