From fc4bf4e9191a3894dbd033011bb8ff76994e67cd Mon Sep 17 00:00:00 2001 From: Chenyu <10610892+BinaryFiddler@users.noreply.github.com> Date: Mon, 21 Jul 2025 19:49:59 -0700 Subject: add margin between messages in the composer thread (#8691) --- src/view/com/composer/Composer.tsx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/view/com/composer/Composer.tsx b/src/view/com/composer/Composer.tsx index 492b9074f..71714fdde 100644 --- a/src/view/com/composer/Composer.tsx +++ b/src/view/com/composer/Composer.tsx @@ -699,6 +699,7 @@ export const ComposePost = ({ dispatch={composerDispatch} textInput={post.id === activePost.id ? textInput : null} isFirstPost={index === 0} + isLastPost={index === thread.posts.length - 1} isPartOfThread={thread.posts.length > 1} isReply={index > 0 || !!replyTo} isActive={post.id === activePost.id} @@ -738,6 +739,7 @@ let ComposerPost = React.memo(function ComposerPost({ isActive, isReply, isFirstPost, + isLastPost, isPartOfThread, canRemovePost, canRemoveQuote, @@ -752,6 +754,7 @@ let ComposerPost = React.memo(function ComposerPost({ isActive: boolean isReply: boolean isFirstPost: boolean + isLastPost: boolean isPartOfThread: boolean canRemovePost: boolean canRemoveQuote: boolean @@ -830,6 +833,8 @@ let ComposerPost = React.memo(function ComposerPost({ -- cgit 1.4.1