From c6b600b186ad87ba7badb9e6b1c3c511003b6b47 Mon Sep 17 00:00:00 2001 From: ShlokJswl <113016734+ShlokJswl@users.noreply.github.com> Date: Mon, 18 Dec 2023 20:53:21 +0530 Subject: [PATCH] Removed blank space in sidebar display in compact view mode (#23139) --- webapp/channels/src/components/post/post_component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/channels/src/components/post/post_component.tsx b/webapp/channels/src/components/post/post_component.tsx index e15692037f..df6414c43c 100644 --- a/webapp/channels/src/components/post/post_component.tsx +++ b/webapp/channels/src/components/post/post_component.tsx @@ -302,7 +302,7 @@ const PostComponent = (props: Props): JSX.Element => { 'post--comment same--root': fromAutoResponder, 'post--pinned-or-flagged': (post.is_pinned || props.isFlagged) && props.location === Locations.CENTER, 'mention-comment': props.isCommentMention, - 'post--thread': props.location === Locations.RHS_COMMENT || props.location === Locations.RHS_ROOT, + 'post--thread': isRHS, }); };