From 5e8ebe44b8d8a2ed570d543957742c567c269246 Mon Sep 17 00:00:00 2001 From: James Morris Date: Thu, 11 Aug 2022 11:54:28 +0100 Subject: [PATCH] Adding in a subtle border for the comments when it has replies refs https://github.com/TryGhost/Team/issues/1777 --- apps/comments-ui/src/components/Comment.js | 6 +++--- apps/comments-ui/src/components/RepliesPagination.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/comments-ui/src/components/Comment.js b/apps/comments-ui/src/components/Comment.js index bc222b47fb..3192162d98 100644 --- a/apps/comments-ui/src/components/Comment.js +++ b/apps/comments-ui/src/components/Comment.js @@ -86,12 +86,12 @@ const Comment = ({updateIsEditing = null, isEditing, ...props}) => { leaveFrom="opacity-100" leaveTo="opacity-0" > -
+
- {/* {!props.isReply &&
} */} + {!props.isReply && hasReplies &&
}
@@ -128,7 +128,7 @@ const Comment = ({updateIsEditing = null, isEditing, ...props}) => { )} {hasReplies && -
+
} diff --git a/apps/comments-ui/src/components/RepliesPagination.js b/apps/comments-ui/src/components/RepliesPagination.js index 23f74f4d49..3cb620491f 100644 --- a/apps/comments-ui/src/components/RepliesPagination.js +++ b/apps/comments-ui/src/components/RepliesPagination.js @@ -7,7 +7,7 @@ const RepliesPagination = (props) => { return ( ); };