From 8b3af90f5bec41afab17dfd7aa8c09a2ce7e6c98 Mon Sep 17 00:00:00 2001 From: zty012 Date: Fri, 24 Jan 2025 13:02:27 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8Dtooltip=E5=A7=8B?= =?UTF-8?q?=E7=BB=88=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ui/Box.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/Box.tsx b/src/components/ui/Box.tsx index ee6d918b..5e28ac49 100644 --- a/src/components/ui/Box.tsx +++ b/src/components/ui/Box.tsx @@ -61,7 +61,7 @@ const _Box = ( className={cn( "pointer-events-none fixed z-[103] scale-75 rounded-md border border-neutral-700 bg-neutral-800/20 px-2 py-1 text-white opacity-0 backdrop-blur-md transition-all", { - "pointer-events-auto scale-100 opacity-100": showTooltip, + "pointer-events-auto scale-100 opacity-100": showTooltip && tooltip, }, )} style={{