Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(ui): table header tooltips (#2148)

Richard Krümmel1b0e3de709d0
diff --git a/web/src/components/layouts/doc-popup.tsx b/web/src/components/layouts/doc-popup.tsx
index 30b3310366..d92dc2dd24 100644
--- a/web/src/components/layouts/doc-popup.tsx
+++ b/web/src/components/layouts/doc-popup.tsx
@@ -4,6 +4,7 @@ import {
HoverCardTrigger,
} from "@/src/components/ui/hover-card";
import { usePostHogClientCapture } from "@/src/features/posthog-analytics/usePostHogClientCapture";
+import { cn } from "@/src/utils/tailwind";
import { HelpCircle, Info } from "lucide-react";
import Link from "next/link";
@@ -40,7 +41,10 @@ export default function DocPopup({
}
}}
>
- <HoverCardTrigger className="mx-1 cursor-pointer" asChild>
+ <HoverCardTrigger
+ className={cn("mx-1", href ? "cursor-pointer" : "cursor-default")}
+ asChild
+ >
{href ? (
<Link
href={href}