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.

Mobile domain improvements (#3330)

Marcus Farrelld2e1208d360a
diff --git a/apps/web/ui/domains/free-dot-link-banner.tsx b/apps/web/ui/domains/free-dot-link-banner.tsx
index da48b7bbb6..d634030308 100644
--- a/apps/web/ui/domains/free-dot-link-banner.tsx
+++ b/apps/web/ui/domains/free-dot-link-banner.tsx
@@ -53,7 +53,7 @@ export function FreeDotLinkBanner() {
</div>
<button
type="button"
- className="absolute inset-y-0 right-2.5 p-1 text-sm text-green-700 underline transition-colors hover:text-green-900"
+ className="absolute right-2.5 top-2.5 p-1 text-sm text-green-700 underline transition-colors hover:text-green-900 sm:top-1/2 sm:-translate-y-1/2"
onClick={() => setShow(false)}
>
<X className="size-[18px]" />
diff --git a/apps/web/ui/layout/page-content/index.tsx b/apps/web/ui/layout/page-content/index.tsx
index 06e57ae5bf..aed6ce90ee 100644
--- a/apps/web/ui/layout/page-content/index.tsx
+++ b/apps/web/ui/layout/page-content/index.tsx
@@ -21,14 +21,14 @@ export function PageContent({
return (
<div
className={cn(
- "rounded-t-[inherit] bg-neutral-100 md:bg-white",
+ "min-h-full flex flex-col rounded-t-[inherit] bg-neutral-100 md:bg-white",
className,
)}
>
<PageContentHeader {...headerProps} />
<div
className={cn(
- "rounded-t-[inherit] bg-white pt-3 lg:pt-6",
+ "flex-1 rounded-t-[inherit] bg-white pt-3 lg:pt-6",
contentWrapperClassName,
)}
>