The open-source CapCut alternative
fix: use svh to prevent hero mobile layout shift (#572)
Taesu7434f909491c
diff --git a/apps/web/src/components/landing/hero.tsx b/apps/web/src/components/landing/hero.tsxindex 5c629433..1b557412 100644--- a/apps/web/src/components/landing/hero.tsx+++ b/apps/web/src/components/landing/hero.tsx@@ -12,7 +12,7 @@ import Link from "next/link";export function Hero() {return (- <div className="min-h-[calc(100vh-4.5rem)] supports-[height:100dvh]:min-h-[calc(100dvh-4.5rem)] flex flex-col justify-between items-center text-center px-4">+ <div className="min-h-[calc(100svh-4.5rem)] flex flex-col justify-between items-center text-center px-4"><ImageclassName="absolute top-0 left-0 -z-50 size-full object-cover invert dark:invert-0 opacity-85"src="/landing-page-dark.png"