Skip to content

Commit

Permalink
fix: correct color code for score stars
Browse files Browse the repository at this point in the history
  • Loading branch information
Albermonte committed Nov 19, 2024
1 parent 52bcaac commit d6af0c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/staking/tooltips/ValidatorTrustScore.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<template>
<div class="validator-trust-score"
:class="{
'high-score': !dry && !disabled && stars >= 4.5,
'low-score': !dry && !disabled && stars >= 2.5 && stars < 4.5,
'low-score': !dry && !disabled && stars >= 2.5 && stars < 3.5,
'very-low-score': !dry && !disabled && stars < 2.5,
'disabled': disabled,
dry,
Expand Down

0 comments on commit d6af0c6

Please sign in to comment.