mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-09 18:05:09 +00:00
Make sure comment score color matches your vote. (#1988)
* Make sure comment score color matches your vote. * Fixing lints.
This commit is contained in:
parent
925d9624d5
commit
2ccaaf1bcd
|
@ -348,7 +348,7 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
|
||||||
{showScores() && (
|
{showScores() && (
|
||||||
<>
|
<>
|
||||||
<span
|
<span
|
||||||
className="me-1 fw-bold"
|
className={`me-1 fw-bold ${this.scoreColor}`}
|
||||||
aria-label={I18NextService.i18n.t("number_of_points", {
|
aria-label={I18NextService.i18n.t("number_of_points", {
|
||||||
count: Number(this.commentView.counts.score),
|
count: Number(this.commentView.counts.score),
|
||||||
formattedCount: numToSI(this.commentView.counts.score),
|
formattedCount: numToSI(this.commentView.counts.score),
|
||||||
|
|
Loading…
Reference in a new issue