Commit cc8bad2
committed
fix(threads): reduce dead space around root message in thread drawer
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).1 parent ab138a1 commit cc8bad2
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
722 | 722 | | |
723 | 723 | | |
724 | 724 | | |
725 | | - | |
| 725 | + | |
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
| |||
733 | 733 | | |
734 | 734 | | |
735 | 735 | | |
736 | | - | |
| 736 | + | |
737 | 737 | | |
738 | 738 | | |
739 | 739 | | |
| |||
0 commit comments