diff --git a/client/src/containers/projects/stats.tsx b/client/src/containers/projects/stats.tsx index f18eeb67..d1516b64 100644 --- a/client/src/containers/projects/stats.tsx +++ b/client/src/containers/projects/stats.tsx @@ -11,6 +11,7 @@ import { useGetIndicatorFields } from '@/types/generated/indicator-field'; import BarsChart from '@/containers/charts/bar'; import ContentLoader from '@/components/ui/loader'; +import { ScrollArea } from '@/components/ui/scroll-area'; import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip'; import SingleBar from '../charts/single-bar'; @@ -53,174 +54,179 @@ export default function Stats() { {data && (
-
-
+
+
- {formatCompactNumber(data.intervention_area_total['value'])}{' '} - {data.intervention_area_total['unit']} -
- -{name}
- - ++ {formatCompactNumber(data.intervention_area_total['value'])}{' '} + {data.intervention_area_total['unit']} +
+ +{name}
+ + ++ {formatCompactNumber(Math.round(data[value]['value']))} +
+ha
- {formatCompactNumber(Math.round(data[value]['value']))} -
ha
-
- {formatCompactNumber(data.beneficiaries_total['value'])} -
- -
-
+
+ {formatCompactNumber(data.beneficiaries_total['value'])} +
+ +- {formatCompactNumber(data.jobs_total['value'])} -
{' '} -
+
+ {formatCompactNumber(data.jobs_total['value'])} +
{' '} +