diff options
author | Dessalines <tyhou13@gmx.com> | 2020-03-05 00:02:08 -0500 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2020-03-05 00:02:08 -0500 |
commit | 2a775cf96089ca9b42f7884954d391b4851cf4be (patch) | |
tree | 28feed687793c5c2cda2cb9f75730958a709f5b6 /ui/src/components/comment-node.tsx | |
parent | eeef752a5ce1af441c69a701d95ba8a2dec651c4 (diff) |
Changing user names to bold text-body. Removing color lines on first comment.
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() && ( |