From 2ccaaf1bcd1729b34a8ce66d25e32100e3191cee Mon Sep 17 00:00:00 2001 From: Dessalines <dessalines@users.noreply.github.com> Date: Wed, 26 Jul 2023 15:51:43 -0400 Subject: [PATCH] Make sure comment score color matches your vote. (#1988) * Make sure comment score color matches your vote. * Fixing lints. --- src/shared/components/comment/comment-node.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/components/comment/comment-node.tsx b/src/shared/components/comment/comment-node.tsx index c2223df..4bfd623 100644 --- a/src/shared/components/comment/comment-node.tsx +++ b/src/shared/components/comment/comment-node.tsx @@ -348,7 +348,7 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> { {showScores() && ( <> <span - className="me-1 fw-bold" + className={`me-1 fw-bold ${this.scoreColor}`} aria-label={I18NextService.i18n.t("number_of_points", { count: Number(this.commentView.counts.score), formattedCount: numToSI(this.commentView.counts.score), -- 2.44.1