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.

fix

Steven Teyae224bccbdd7
diff --git a/apps/web/ui/modals/link-builder/index.tsx b/apps/web/ui/modals/link-builder/index.tsx
index fe1be7e9d2..8aac460647 100644
--- a/apps/web/ui/modals/link-builder/index.tsx
+++ b/apps/web/ui/modals/link-builder/index.tsx
@@ -308,7 +308,7 @@ function LinkBuilderInner({
<div className="flex items-center gap-3">
<LinkLogo
apexDomain={getApexDomain(debouncedUrl)}
- className="size-6 sm:size-6"
+ className="size-6 sm:size-6 [&>*]:size-3 sm:[&>*]:size-4"
/>
<h3 className="!mt-0 max-w-sm truncate text-lg font-medium">
{props ? `Edit ${shortLink}` : "New link"}
diff --git a/packages/ui/src/link-logo.tsx b/packages/ui/src/link-logo.tsx
index 4ff411724a..0c5cc5b0c8 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 p-1 sm:h-10 sm:w-10 sm:p-2",
+ "flex h-8 w-8 items-center justify-center rounded-full bg-gray-100 px-0 sm:h-10 sm:w-10",
className,
)}
>
- <Globe2 className="h-full w-full text-gray-600" />
+ <Globe2 className="h-4 w-4 text-gray-600 sm:h-5 sm:w-5" />
</div>
);
}