Skip to content

Commit 088a0d9

Browse files
committed
fix hero layout shift
1 parent 2ea8d39 commit 088a0d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/hero/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ void main() {
244244
}, []);
245245

246246
return (
247-
<div className="w-full h-full overflow-clip">
247+
<div className="w-full overflow-clip h-[calc(100dvh-356px)] lg:h-[calc(100dvh-256px)]">
248248
<div
249249
ref={containerRef}
250250
className="w-[calc(100%-2rem)] mx-4 h-full overflow-clip"

0 commit comments

Comments
 (0)