diff --git a/.changeset/fix-thread-ui-spacing.md b/.changeset/fix-thread-ui-spacing.md new file mode 100644 index 00000000..445ff082 --- /dev/null +++ b/.changeset/fix-thread-ui-spacing.md @@ -0,0 +1,5 @@ +--- +default: patch +--- + +Reduce dead space around the root message in the thread drawer. diff --git a/src/app/features/room/ThreadDrawer.tsx b/src/app/features/room/ThreadDrawer.tsx index 23ef1ff0..53ab2f37 100644 --- a/src/app/features/room/ThreadDrawer.tsx +++ b/src/app/features/room/ThreadDrawer.tsx @@ -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`, }} >