Skip to content

Commit 0610cdd

Browse files
committed
Workaround for hardcoded Layout md:max-h-dvh
1 parent 7a94597 commit 0610cdd

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/pages/Landing/index.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ import { Hero } from './Hero';
77

88
export const Landing: FC = () => {
99
return (
10-
<Layout headerContent={<Header />} footerContent={<Footer />}>
11-
<Hero />
12-
<Cards />
13-
</Layout>
10+
<div className="[&>*]:md:max-h-none [&>*]:md:h-auto">
11+
<Layout headerContent={<Header />} footerContent={<Footer />}>
12+
<Hero />
13+
<Cards />
14+
</Layout>
15+
</div>
1416
);
1517
};

0 commit comments

Comments
 (0)