Skip to content

Commit

Permalink
feat(dashboard): lighter red for 0 errors
Browse files Browse the repository at this point in the history
Closes #316
  • Loading branch information
Lucas Bracher committed Sep 19, 2024
1 parent a584ded commit 96c292c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dashboard/src/components/ColoredCircle/ColoredCircle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ const ColoredCircle = ({
'inline-flex h-6 w-fit min-w-6 items-center justify-center rounded-full px-2 text-sm text-black',
className,
backgroundClassName,
{
['bg-opacity-20']:
quantity == 0 &&
(tooltipText == 'global.failed' ||
tooltipText == 'global.inconclusive'),
},
)}
>
{quantity}
Expand Down

0 comments on commit 96c292c

Please sign in to comment.