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.

Update page-client.tsx

Tim Wilson1ef431bac0f8
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/programs/[programId]/branding/elements/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/programs/[programId]/branding/elements/page-client.tsx
index 6a1b71ee03..cf275f966a 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/programs/[programId]/branding/elements/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/programs/[programId]/branding/elements/page-client.tsx
@@ -228,7 +228,7 @@ function LanderPreview({ program }: { program: ProgramWithLanderDataProps }) {
return Component ? (
<div key={idx} className="group relative py-10">
{/* Background grid */}
- <div className="border-subtle pointer-events-none absolute inset-y-0 left-1/2 w-[1080px] max-w-[calc(100cqw-32px)] -translate-x-1/2 overflow-hidden rounded-xl border opacity-0 transition-opacity group-hover:opacity-100">
+ <div className="border-subtle pointer-events-none absolute inset-y-0 left-1/2 w-[1080px] max-w-[calc(100cqw-32px)] -translate-x-1/2 overflow-hidden rounded-xl border opacity-0 group-hover:opacity-100">
<Grid
cellSize={60}
className="text-border-subtle inset-[unset] left-1/2 top-1/2 h-[max(1200px,100%)] w-[1200px] -translate-x-1/2 -translate-y-1/2"
@@ -238,7 +238,7 @@ function LanderPreview({ program }: { program: ProgramWithLanderDataProps }) {
{/* Insert block button */}
<div
className={cn(
- "absolute inset-0 opacity-0 transition-opacity",
+ "absolute inset-0 opacity-0",
"group-hover:opacity-100 group-has-[+div:hover]:opacity-100",
)}
>