diff options
Diffstat (limited to 'ui/src/components/comment-node.tsx')
-rw-r--r-- | ui/src/components/comment-node.tsx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ui/src/components/comment-node.tsx b/ui/src/components/comment-node.tsx index 0e62e6eb..9b476c7e 100644 --- a/ui/src/components/comment-node.tsx +++ b/ui/src/components/comment-node.tsx @@ -129,14 +129,19 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> { }`} style={ !this.props.noIndent && + this.props.node.comment.parent_id && `border-left: 1px solid; border-color: ${this.state.borderColor} !important` } > - <div class={`${!this.props.noIndent && 'ml-2'}`}> + <div + class={`${!this.props.noIndent && + this.props.node.comment.parent_id && + 'ml-2'}`} + > <ul class="list-inline mb-1 text-muted small"> <li className="list-inline-item"> <Link - className="text-info" + className="text-body font-weight-bold" to={`/u/${node.comment.creator_name}`} > {node.comment.creator_avatar && showAvatars() && ( |