From 2911cd8cdb348629a97d60239723b1925210df0a Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 Date: Mon, 10 Jul 2023 23:16:03 +0000 Subject: [PATCH] Comment border tweak (#1820) * Tweak border depth * Tweak top level margins --- src/shared/components/comment/comment-node.tsx | 10 +++------- src/shared/components/comment/comment-nodes.tsx | 6 +++--- src/shared/components/community/community.tsx | 2 +- src/shared/components/home/home.tsx | 2 +- src/shared/components/person/person-details.tsx | 2 +- src/shared/components/post/post.tsx | 2 +- src/shared/components/search.tsx | 4 ++-- 7 files changed, 12 insertions(+), 16 deletions(-) diff --git a/src/shared/components/comment/comment-node.tsx b/src/shared/components/comment/comment-node.tsx index 6c7d5c00..7b7f29e5 100644 --- a/src/shared/components/comment/comment-node.tsx +++ b/src/shared/components/comment/comment-node.tsx @@ -114,7 +114,7 @@ interface CommentNodeProps { moderators?: CommunityModeratorView[]; admins?: PersonView[]; noBorder?: boolean; - noIndent?: boolean; + isTopLevel?: boolean; viewOnly?: boolean; locked?: boolean; markable?: boolean; @@ -292,11 +292,7 @@ export class CommentNode extends Component { mark: this.isCommentNew || this.commentView.comment.distinguished, })} > -
+