Fixing comment report showing dot.

This commit is contained in:
Dessalines 2023-07-26 14:47:47 -04:00
parent 925d9624d5
commit 7327fbaf12
2 changed files with 4 additions and 4 deletions

View file

@ -284,7 +284,7 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
node.comment_view.counts.child_count > 0; node.comment_view.counts.child_count > 0;
return ( return (
<li className="comment"> <div className="comment">
<article <article
id={`comment-${cv.comment.id}`} id={`comment-${cv.comment.id}`}
className={classNames(`details comment-node py-2`, { className={classNames(`details comment-node py-2`, {
@ -1160,7 +1160,7 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
)} )}
{/* A collapsed clearfix */} {/* A collapsed clearfix */}
{this.state.collapsed && <div className="row col-12" />} {this.state.collapsed && <div className="row col-12" />}
</li> </div>
); );
} }

View file

@ -84,7 +84,7 @@ export class CommentNodes extends Component<CommentNodesProps, any> {
return ( return (
this.props.nodes.length > 0 && ( this.props.nodes.length > 0 && (
<ul <div
className={classNames("comments", { className={classNames("comments", {
"ms-1": this.props.depth && this.props.depth > 1, "ms-1": this.props.depth && this.props.depth > 1,
"border-top border-light": !this.props.noBorder, "border-top border-light": !this.props.noBorder,
@ -135,7 +135,7 @@ export class CommentNodes extends Component<CommentNodesProps, any> {
onPurgeComment={this.props.onPurgeComment} onPurgeComment={this.props.onPurgeComment}
/> />
))} ))}
</ul> </div>
) )
); );
} }