Skip to content

Commit

Permalink
typography fix to criteria values
Browse files Browse the repository at this point in the history
  • Loading branch information
ranven committed Feb 6, 2025
1 parent 22af4ff commit 3e3791e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/components/V1/Generic/KeyDataCardComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ const CriteriaCard = (props: CriteriaCardProps) => {
}}
>
<TrafficLight color={props.color} />
<Typography fontStyle={'italic'}>{`${props.title} ${props.value}`}</Typography>
<Typography fontStyle={'italic'}>{props.title}</Typography>
<Typography fontStyle={'italic'} color={props.value === 'Ei dataa' ? 'textSecondary' : 'textPrimary'}>
{props.value}
</Typography>
</div>

{showDescription && (
Expand Down

0 comments on commit 3e3791e

Please sign in to comment.