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.

Tweak link card gaps

Tim Wilson286bb88a7b24
diff --git a/packages/ui/src/nav/content/company-content.tsx b/packages/ui/src/nav/content/company-content.tsx
index b729b34898..a787b19c19 100644
--- a/packages/ui/src/nav/content/company-content.tsx
+++ b/packages/ui/src/nav/content/company-content.tsx
@@ -15,7 +15,6 @@ export function CompanyContent({ domain }: { domain: string }) {
key={title}
title={title}
description={description}
- descriptionClassName="mt-0.5"
icon={icon}
iconClassName="size-5"
href={createHref(href, domain)}
diff --git a/packages/ui/src/nav/content/shared.tsx b/packages/ui/src/nav/content/shared.tsx
index f943cdf16e..b8314d28ed 100644
--- a/packages/ui/src/nav/content/shared.tsx
+++ b/packages/ui/src/nav/content/shared.tsx
@@ -87,14 +87,12 @@ export function LargeLinkCard({
icon: Icon,
title,
description,
- descriptionClassName,
iconClassName,
...rest
}: {
icon: Icon;
title: string;
description?: string;
- descriptionClassName?: string;
iconClassName?: string;
} & ComponentProps<typeof Link>) {
return (
@@ -104,15 +102,10 @@ export function LargeLinkCard({
>
<div className="flex items-center justify-between px-5 py-4">
<div>
- <span className="block text-sm font-medium leading-none text-neutral-900 dark:text-white">
+ <span className="text-sm font-medium leading-none text-neutral-900 dark:text-white">
{title}
</span>
- <p
- className={cn(
- "mt-1.5 text-sm text-neutral-500 dark:text-white/60",
- descriptionClassName,
- )}
- >
+ <p className="mt-1 text-sm text-neutral-500 dark:text-white/60">
{description}
</p>
</div>