diff --git a/packages/ui/components/button/Button.tsx b/packages/ui/components/button/Button.tsx index a308025917..3979602994 100644 --- a/packages/ui/components/button/Button.tsx +++ b/packages/ui/components/button/Button.tsx @@ -5,8 +5,7 @@ import { Icon } from "react-feather"; import classNames from "@calcom/lib/classNames"; import { applyStyleToMultipleVariants } from "@calcom/lib/cva"; - -import Tooltip from "../../v2/core/Tooltip"; +import { Tooltip } from "@calcom/ui"; type InferredVariantProps = VariantProps; diff --git a/packages/ui/v2/core/Tooltip.tsx b/packages/ui/v2/core/Tooltip.tsx index 9bead1ad1b..5049dd93a1 100644 --- a/packages/ui/v2/core/Tooltip.tsx +++ b/packages/ui/v2/core/Tooltip.tsx @@ -26,18 +26,20 @@ export function Tooltip({ defaultOpen={defaultOpen} onOpenChange={onOpenChange}> {children} - + - {content} - + "relative z-40 rounded-md bg-gray-900 px-2 py-1 text-xs font-semibold text-white shadow-lg dark:bg-white dark:text-gray-600" + )} + side={side} + align="center" + {...props}> + {content} + + ); }