From 85ce672b53e122598c9859edb77f3911a52cd35f Mon Sep 17 00:00:00 2001
From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
Date: Mon, 4 Mar 2024 07:34:23 -0600
Subject: [PATCH] add tooltip portal (#10233)
---
web/src/components/navigation/NavItem.tsx | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/web/src/components/navigation/NavItem.tsx b/web/src/components/navigation/NavItem.tsx
index 0294ef7ad..e19ff92a2 100644
--- a/web/src/components/navigation/NavItem.tsx
+++ b/web/src/components/navigation/NavItem.tsx
@@ -8,6 +8,7 @@ import {
} from "@/components/ui/tooltip";
import { useState } from "react";
import { isDesktop } from "react-device-detect";
+import { TooltipPortal } from "@radix-ui/react-tooltip";
const variants = {
primary: {
@@ -61,9 +62,11 @@ export default function NavItem({
-
- {title}
-
+
+
+ {title}
+
+
)
);