From 792096d2096408123d8a33c5431d18ac9927c888 Mon Sep 17 00:00:00 2001 From: Arunavo Ray Date: Tue, 17 Jun 2025 11:39:41 +0530 Subject: [PATCH] Updates to Organisation Strategy Layouts --- .../config/OrganizationStrategy.tsx | 56 ++++++++++++------- 1 file changed, 37 insertions(+), 19 deletions(-) diff --git a/src/components/config/OrganizationStrategy.tsx b/src/components/config/OrganizationStrategy.tsx index fe219bb..e78d538 100644 --- a/src/components/config/OrganizationStrategy.tsx +++ b/src/components/config/OrganizationStrategy.tsx @@ -11,6 +11,11 @@ import { TooltipProvider, TooltipTrigger, } from "@/components/ui/tooltip"; +import { + Popover, + PopoverContent, + PopoverTrigger, +} from "@/components/ui/popover"; import { cn } from "@/lib/utils"; import { Collapsible, @@ -283,12 +288,11 @@ export const OrganizationStrategy: React.FC = ({ !isSelected && "border-muted" )} > -
-
+
+
= ({ isSelected ? config.bgColor : "bg-muted dark:bg-muted/50" )}>
-
-

{config.title}

+
+

{config.title}

{isSelected && ( Selected )}
-

+

{config.description}

- -
- {config.details.map((detail, idx) => ( -
-
- {detail} -
- ))} -
+ + + + + + +
+
Details
+ {config.details.map((detail, idx) => ( +
+
+ {detail} +
+ ))} +
+ +