Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

small bug fixes

Steven Tey641ff48eb343
diff --git a/components/app/links/link-card.tsx b/components/app/links/link-card.tsx
index ea679665c6..fec27f8cf2 100644
--- a/components/app/links/link-card.tsx
+++ b/components/app/links/link-card.tsx
@@ -190,7 +190,10 @@ export default function LinkCard({ props }: { props: LinkProps }) {
}
>
<div className="w-full cursor-not-allowed p-2 text-left text-sm font-medium text-gray-300 transition-all duration-75">
- Edit
+ <IconMenu
+ text="Edit"
+ icon={<Edit className="h-4 w-4" />}
+ />
</div>
</Tooltip>
) : (
diff --git a/components/shared/tooltip.tsx b/components/shared/tooltip.tsx
index b66c693a48..4b6e111704 100644
--- a/components/shared/tooltip.tsx
+++ b/components/shared/tooltip.tsx
@@ -100,7 +100,7 @@ export default function Tooltip({
<TooltipPrimitive.Content
sideOffset={4}
side="top"
- className="z-20 hidden animate-slide-up-fade items-center overflow-hidden rounded-md border border-gray-200 bg-white drop-shadow-lg sm:block"
+ className="z-30 hidden animate-slide-up-fade items-center overflow-hidden rounded-md border border-gray-200 bg-white drop-shadow-lg sm:block"
>
<TooltipPrimitive.Arrow className="fill-current text-white" />
{typeof content === "string" ? (