fix footer not sticking to bottom on mobile

This commit is contained in:
2025-11-18 11:11:58 +13:00
parent e2142c95e9
commit 691de03897

View File

@@ -12,7 +12,7 @@ import Footer from "@components/footer"
</head>
<body>
<main id="main" class="flex flex-col md:flex-row">
<main id="main" class="flex flex-col md:flex-row min-h-screen">
<div class="w-full md:w-[32%] md:sticky md:top-0 pt-8 md:py-14 md:h-screen text-center flex flex-col px-6 md:px-0">
<Sidebar>
<slot name="sidebar" />
@@ -27,7 +27,7 @@ import Footer from "@components/footer"
<slot name="content"/>
</div>
<div class="block md:hidden px-6 pb-8 text-center">
<div class="block md:hidden mt-auto px-6 pb-8 text-center">
<Footer/>
</div>