From 764bdd4ac8c1175761e285148abccfbb84c67aac Mon Sep 17 00:00:00 2001 From: djvs <2954343+djvs@users.noreply.github.com> Date: Tue, 25 Jul 2023 14:07:17 -0400 Subject: [PATCH] Separate final comment row + add classes (#1982) Co-authored-by: djvs --- .../components/comment/comment-node.tsx | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/src/shared/components/comment/comment-node.tsx b/src/shared/components/comment/comment-node.tsx index 7b7f29e5..c2223dfb 100644 --- a/src/shared/components/comment/comment-node.tsx +++ b/src/shared/components/comment/comment-node.tsx @@ -384,20 +384,22 @@ export class CommentNode extends Component { /> )} {!this.state.showEdit && !this.state.collapsed && ( -
- {this.state.viewSource ? ( -
{this.commentUnlessRemoved}
- ) : ( -
- )} -
+ <> +
+ {this.state.viewSource ? ( +
{this.commentUnlessRemoved}
+ ) : ( +
+ )} +
+
{this.props.showContext && this.getLinkButton()} {this.props.markable && (
{/* end of button group */} -
+ )}