From 2dc08d378a35a9790680912b035eb3ae096c384b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez=20Mu=C3=B1oz?= Date: Tue, 3 Dec 2024 17:08:59 +0100 Subject: [PATCH] minor styling updates --- client/src/components/ui/dialog.tsx | 2 +- client/src/constants/tooltip.tsx | 21 ++++++++++++++++--- .../overview/table/toolbar/index.tsx | 20 ++++++++++-------- 3 files changed, 30 insertions(+), 13 deletions(-) diff --git a/client/src/components/ui/dialog.tsx b/client/src/components/ui/dialog.tsx index a62d3271..1a8b3919 100644 --- a/client/src/components/ui/dialog.tsx +++ b/client/src/components/ui/dialog.tsx @@ -39,7 +39,7 @@ const DialogContent = React.forwardRef< + + + ), COMMUNITY_REPRESENTATION: "Efforts aimed at obtaining community buy-in, including assessing community needs, obtaining free, prior, and informed consent, conducting stakeholder surveys, and providing education about blue carbon.", CONSERVATION_PLANNING: diff --git a/client/src/containers/overview/table/toolbar/index.tsx b/client/src/containers/overview/table/toolbar/index.tsx index 509afda8..1cfcf14d 100644 --- a/client/src/containers/overview/table/toolbar/index.tsx +++ b/client/src/containers/overview/table/toolbar/index.tsx @@ -1,3 +1,5 @@ +import { cn } from "@/lib/utils"; + import { SCORECARD_PRIORITIZATION, KEY_COSTS } from "@/constants/tooltip"; import SearchProjectsTable from "@/containers/overview/table/toolbar/search"; @@ -99,42 +101,42 @@ const KEY_COSTS_DATA: KeyCost[] = [ }, ]; +const TABS_TRIGGER_CLASSES = + "border-b-2 border-transparent transition-colors data-[state=active]:!border-sky-blue-300 data-[state=active]:bg-transparent"; + export default function ToolbarProjectsTable() { return (
- +
- + General Overview table Scorecard prioritization table - + Key costs table