diff --git a/apps/web/src/components/condition-picker.tsx b/apps/web/src/components/condition-picker.tsx index 110049e..13cb28d 100644 --- a/apps/web/src/components/condition-picker.tsx +++ b/apps/web/src/components/condition-picker.tsx @@ -20,6 +20,7 @@ import { import { useEffect, useLayoutEffect, useRef, useState } from "react"; import { createPortal } from "react-dom"; import { cn } from "../lib/utils"; +import { Tooltip } from "./ui/tooltip.js"; const ICON_MAP: Record = { EyeOff, @@ -121,25 +122,28 @@ export function ConditionPicker({ const isActive = active.has(def.id); const colorClass = COLOR_CLASSES[def.color] ?? "text-muted-foreground"; return ( - + + + {def.label} + + + ); })} , diff --git a/apps/web/src/components/condition-tags.tsx b/apps/web/src/components/condition-tags.tsx index da0418c..0895d5f 100644 --- a/apps/web/src/components/condition-tags.tsx +++ b/apps/web/src/components/condition-tags.tsx @@ -19,6 +19,7 @@ import { ZapOff, } from "lucide-react"; import { cn } from "../lib/utils.js"; +import { Tooltip } from "./ui/tooltip.js"; const ICON_MAP: Record = { EyeOff, @@ -71,22 +72,22 @@ export function ConditionTags({ if (!Icon) return null; const colorClass = COLOR_CLASSES[def.color] ?? "text-muted-foreground"; return ( - + + + ); })}