From: abias Date: Thu, 15 Jun 2023 00:52:31 +0000 (-0400) Subject: Make comment border colors semi-transparent X-Git-Url: http://these/git/readmes/%24%7B%60data:application/static/%7BpictshareAvatarThumbnail%28?a=commitdiff_plain;h=ab0805432dab4594ede8fc8579e3750d9b3187a7;p=lemmy-ui.git Make comment border colors semi-transparent --- diff --git a/src/server/index.tsx b/src/server/index.tsx index 4302407..06dc33a 100644 --- a/src/server/index.tsx +++ b/src/server/index.tsx @@ -156,7 +156,7 @@ server.get("/*", async (req, res) => { site = try_site.data; initializeSite(site); - if (path != "/setup" && !site.site_view.local_site.site_setup) { + if (path !== "/setup" && !site.site_view.local_site.site_setup) { return res.redirect("/setup"); } diff --git a/src/shared/components/comment/comment-node.tsx b/src/shared/components/comment/comment-node.tsx index 5182646..0380a72 100644 --- a/src/shared/components/comment/comment-node.tsx +++ b/src/shared/components/comment/comment-node.tsx @@ -270,10 +270,6 @@ export class CommentNode extends Component { this.props.moderators ); - - const borderColor = this.props.node.depth - ? colorList[(this.props.node.depth - 1) % colorList.length] - : colorList[0]; const moreRepliesBorderColor = this.props.node.depth ? colorList[this.props.node.depth % colorList.length] : colorList[0]; @@ -951,9 +947,9 @@ export class CommentNode extends Component { {showMoreChildren && (