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 logo favicon

Steven Tey0ab82cf500a0
diff --git a/apps/web/ui/modals/link-builder/index.tsx b/apps/web/ui/modals/link-builder/index.tsx
index 8e68f2f92e..fe1be7e9d2 100644
--- a/apps/web/ui/modals/link-builder/index.tsx
+++ b/apps/web/ui/modals/link-builder/index.tsx
@@ -305,10 +305,13 @@ function LinkBuilderInner({
})}
>
<div className="flex items-center justify-between px-6 py-4">
- <div className="flex items-center gap-4">
- <LinkLogo apexDomain={getApexDomain(debouncedUrl)} />
+ <div className="flex items-center gap-3">
+ <LinkLogo
+ apexDomain={getApexDomain(debouncedUrl)}
+ className="size-6 sm:size-6"
+ />
<h3 className="!mt-0 max-w-sm truncate text-lg font-medium">
- {props ? `Edit ${shortLink}` : "Create new link"}
+ {props ? `Edit ${shortLink}` : "New link"}
</h3>
</div>
{!homepageDemo && (
diff --git a/packages/ui/src/link-logo.tsx b/packages/ui/src/link-logo.tsx
index 0c5cc5b0c8..4ff411724a 100644
--- a/packages/ui/src/link-logo.tsx
+++ b/packages/ui/src/link-logo.tsx
@@ -21,11 +21,11 @@ export function LinkLogo({
) : (
<div
className={cn(
- "flex h-8 w-8 items-center justify-center rounded-full bg-gray-100 px-0 sm:h-10 sm:w-10",
+ "flex h-8 w-8 items-center justify-center rounded-full bg-gray-100 p-1 sm:h-10 sm:w-10 sm:p-2",
className,
)}
>
- <Globe2 className="h-4 w-4 text-gray-600 sm:h-5 sm:w-5" />
+ <Globe2 className="h-full w-full text-gray-600" />
</div>
);
}