Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

on hover tooltip fix (#1271)

Fahad71d14a04fdac
diff --git a/apps/web/src/app/[locale]/(profile)/[username]/_components/dashboard/badges.tsx b/apps/web/src/app/[locale]/(profile)/[username]/_components/dashboard/badges.tsx
index ce05442d..0a9f5594 100644
--- a/apps/web/src/app/[locale]/(profile)/[username]/_components/dashboard/badges.tsx
+++ b/apps/web/src/app/[locale]/(profile)/[username]/_components/dashboard/badges.tsx
@@ -27,7 +27,9 @@ const Badge = ({ slug, name }: BadgeInfo) => {
return (
<Tooltip>
<TooltipTrigger asChild>
- <Icon className="h-12 w-12" />
+ <span>
+ <Icon className="h-12 w-12" />
+ </span>
</TooltipTrigger>
<TooltipContent side="bottom">
<span>{name}</span>