From 1cf33bf0842bfa021ede5c3cc96031618a23de84 Mon Sep 17 00:00:00 2001 From: Matt Date: Sat, 21 Dec 2024 19:07:15 -0500 Subject: [PATCH] Add name tooltip --- .../src/components/dashboard/ProductGrid.jsx | 31 ++++++++++++++----- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/dashboard/src/components/dashboard/ProductGrid.jsx b/dashboard/src/components/dashboard/ProductGrid.jsx index 7e3ca32..f4bb232 100644 --- a/dashboard/src/components/dashboard/ProductGrid.jsx +++ b/dashboard/src/components/dashboard/ProductGrid.jsx @@ -23,6 +23,12 @@ import { Button } from "@/components/ui/button"; import { TIME_RANGES } from "@/lib/constants"; import { cn } from "@/lib/utils"; import { Skeleton } from "@/components/ui/skeleton"; +import { + Tooltip, + TooltipContent, + TooltipProvider, + TooltipTrigger, +} from "@/components/ui/tooltip"; const ProductGrid = ({ timeRange = "today", @@ -289,14 +295,23 @@ const ProductGrid = ({
- - {product.name} - + + + + + {product.name} + + + +

{product.name}

+
+
+