Skip to content

Commit ceb9f08

Browse files
committed
Update tooltip style to match shadcn
1 parent ffa841e commit ceb9f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shadcn/ui/tooltip.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const TooltipContent = React.forwardRef<
2929
ref={ref}
3030
sideOffset={sideOffset}
3131
className={cn(
32-
"z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
32+
"z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-xs text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
3333
className
3434
)}
3535

0 commit comments

Comments
 (0)