Skip to content

Commit 833ee13

Browse files
authored
Merge pull request SableClient#344 from SableClient/fix/thread-ui-spacing
fix(threads): reduce dead space around root message in thread drawer
2 parents 39682b9 + 8dba3af commit 833ee13

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
default: patch
3+
---
4+
5+
Reduce dead space around the root message in the thread drawer.

src/app/features/room/ThreadDrawer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ export function ThreadDrawer({ room, threadRootId, onClose, overlay }: ThreadDra
760760
variant="Background"
761761
visibility="Hover"
762762
direction="Vertical"
763-
hideTrack={false}
763+
hideTrack
764764
style={{
765765
maxHeight: '200px',
766766
height: 'fit-content',
@@ -771,7 +771,7 @@ export function ThreadDrawer({ room, threadRootId, onClose, overlay }: ThreadDra
771771
className={css.messageList}
772772
direction="Column"
773773
style={{
774-
padding: `${config.space.S400} 0 ${config.space.S200} 0`,
774+
padding: `${config.space.S200} 0 ${config.space.S100} 0`,
775775
}}
776776
>
777777
<ThreadMessage {...sharedMessageProps} mEvent={rootEvent} />

0 commit comments

Comments
 (0)