From a2f790022591867b5ba8f69e6f434ad400820a10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez=20Mu=C3=B1oz?= Date: Thu, 16 Nov 2023 19:07:33 +0100 Subject: [PATCH] fixes overflow content in gap-analysis list --- app/components/gap-analysis/item/component.tsx | 2 +- .../sidebar/scenario/grid-setup/gap-analysis/index.tsx | 2 +- .../sidebar/scenario/grid-setup/gap-analysis/list/index.tsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/gap-analysis/item/component.tsx b/app/components/gap-analysis/item/component.tsx index c674d51f4f..c53f21b6b9 100644 --- a/app/components/gap-analysis/item/component.tsx +++ b/app/components/gap-analysis/item/component.tsx @@ -87,7 +87,7 @@ export const Item: React.FC = ({ delay={[400, null]} offset={[-10, -34]} > -
+
{name}
diff --git a/app/layout/project/sidebar/scenario/grid-setup/gap-analysis/index.tsx b/app/layout/project/sidebar/scenario/grid-setup/gap-analysis/index.tsx index d6da96cf63..fb8f9e2198 100644 --- a/app/layout/project/sidebar/scenario/grid-setup/gap-analysis/index.tsx +++ b/app/layout/project/sidebar/scenario/grid-setup/gap-analysis/index.tsx @@ -61,7 +61,7 @@ export const GridSetupGAPAnalysis = (): JSX.Element => {
- +
diff --git a/app/layout/project/sidebar/scenario/grid-setup/gap-analysis/list/index.tsx b/app/layout/project/sidebar/scenario/grid-setup/gap-analysis/list/index.tsx index c9dc3001c8..01b7c98c26 100644 --- a/app/layout/project/sidebar/scenario/grid-setup/gap-analysis/list/index.tsx +++ b/app/layout/project/sidebar/scenario/grid-setup/gap-analysis/list/index.tsx @@ -77,9 +77,8 @@ export const ScenariosPreGapAnalysisList = ({ search }: { search?: string }) => }, []); return ( -
+
-
{...item} highlighted={isHighlighted(item.id)} onHighlight={() => toggleHighlight(item.id)} + className="w-full" /> );