diff --git a/frontend/src/components/charts/conservation-chart/legend/index.tsx b/frontend/src/components/charts/conservation-chart/legend/index.tsx index 685f7b40..07a0767e 100644 --- a/frontend/src/components/charts/conservation-chart/legend/index.tsx +++ b/frontend/src/components/charts/conservation-chart/legend/index.tsx @@ -47,7 +47,7 @@ const ChartLegend: FCWithMessages = ({ {displayTarget && ( - + {t.rich('target-xx-by', { target, diff --git a/frontend/src/components/map/zoom-controls/index.tsx b/frontend/src/components/map/zoom-controls/index.tsx index 484ee211..4cee7a47 100644 --- a/frontend/src/components/map/zoom-controls/index.tsx +++ b/frontend/src/components/map/zoom-controls/index.tsx @@ -7,7 +7,7 @@ import { Button } from '@/components/ui/button'; import { FCWithMessages } from '@/types'; const BUTTON_CLASSES = 'group bg-white'; -const ICON_CLASSES = 'h-6 w-6 text-black group-hover:text-white'; +const ICON_CLASSES = 'h-4 w-4 text-black group-hover:text-white'; const ZoomControls: FCWithMessages = () => { const t = useTranslations('components.map'); diff --git a/frontend/src/constants/fishing-protection-chart-colors.ts b/frontend/src/constants/fishing-protection-chart-colors.ts index cf8f6054..fc6cd79e 100644 --- a/frontend/src/constants/fishing-protection-chart-colors.ts +++ b/frontend/src/constants/fishing-protection-chart-colors.ts @@ -1,3 +1,3 @@ export const FISHING_PROTECTION_CHART_COLORS = { - highly: '#2768B4', + highly: '#526EFF', }; diff --git a/frontend/src/containers/map/content/map/popup/boundaries/index.tsx b/frontend/src/containers/map/content/map/popup/boundaries/index.tsx index 2bc8b0b2..1165b512 100644 --- a/frontend/src/containers/map/content/map/popup/boundaries/index.tsx +++ b/frontend/src/containers/map/content/map/popup/boundaries/index.tsx @@ -203,16 +203,16 @@ const BoundariesPopup: FCWithMessages<{ layerId: number }> = ({ layerId }) => { if (!geometryData) return null; return ( -
-

{localizedLocationName || '-'}

- {isFetching &&
{t('loading')}
} +
+

{localizedLocationName || '-'}

+ {isFetching &&
{t('loading')}
} {!isFetching && !protectionCoverageStats && (
{t('no-data-available')}
)} {!isFetching && !!protectionCoverageStats && ( <> -
-
+
+
{environment === 'marine' ? t('marine-conservation-coverage') : t('terrestrial-conservation-coverage')} @@ -222,18 +222,17 @@ const BoundariesPopup: FCWithMessages<{ layerId: number }> = ({ layerId }) => { t.rich('percentage-bold', { percentage: formattedStats.percentage, b1: (chunks) => ( - {chunks} + {chunks} ), b2: (chunks) => {chunks}, })} {formattedStats.percentage === '-' && ( - - {formattedStats.percentage} - + {formattedStats.percentage} )}
- {t('protected-area', { + {t.rich('protected-area', { + br: () =>
, protectedArea: formattedStats.protectedArea, totalArea: formatKM( locale, @@ -248,7 +247,7 @@ const BoundariesPopup: FCWithMessages<{ layerId: number }> = ({ layerId }) => {