Merge pull request #344 from SableClient/fix/thread-ui-spacing

fix(threads): reduce dead space around root message in thread drawer
This commit is contained in:
7w1 authored and GitHub committed 2026-03-19 05:07:49 +00:00
commit 833ee130f9
2 files changed
+7 -2

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
default: patch
---
Reduce dead space around the root message in the thread drawer.
+2 -2
View File
@@ -760,7 +760,7 @@ export function ThreadDrawer({ room, threadRootId, onClose, overlay }: ThreadDra
variant="Background"
visibility="Hover"
direction="Vertical"
hideTrack={false}
hideTrack
style={{
maxHeight: '200px',
height: 'fit-content',
@@ -771,7 +771,7 @@ export function ThreadDrawer({ room, threadRootId, onClose, overlay }: ThreadDra
className={css.messageList}
direction="Column"
style={{
padding: `${config.space.S400} 0 ${config.space.S200} 0`,
padding: `${config.space.S200} 0 ${config.space.S100} 0`,
}}
>
<ThreadMessage {...sharedMessageProps} mEvent={rootEvent} />