From: Dessalines Date: Thu, 5 Mar 2020 15:02:23 +0000 (-0500) Subject: Adding hr separator for top level comment groups on mobile. X-Git-Url: http://these/git/%22https:/lemmy.ml/u/Liwott/%24%7Bargs.pageFn.prev%7D?a=commitdiff_plain;h=1a9c1677d3a06032f360e21ae2ab58cebc5128c6;p=lemmy.git Adding hr separator for top level comment groups on mobile. --- diff --git a/ui/src/components/comment-node.tsx b/ui/src/components/comment-node.tsx index 9b476c7e..19c83423 100644 --- a/ui/src/components/comment-node.tsx +++ b/ui/src/components/comment-node.tsx @@ -122,6 +122,9 @@ export class CommentNode extends Component { node.comment.parent_id && !this.props.noIndent ? 'ml-2' : '' }`} > + {!node.comment.parent_id && !this.props.noIndent && ( +
+ )}
{ style={ !this.props.noIndent && this.props.node.comment.parent_id && - `border-left: 1px solid; border-color: ${this.state.borderColor} !important` + `border-left: 1px ${this.state.borderColor} solid !important` } >
{ )}
+ {/* end of details */} {this.state.showRemoveDialog && (