fix footer not sticking to bottom on mobile
This commit is contained in:
@@ -12,7 +12,7 @@ import Footer from "@components/footer"
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<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">
|
<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>
|
<Sidebar>
|
||||||
<slot name="sidebar" />
|
<slot name="sidebar" />
|
||||||
@@ -27,7 +27,7 @@ import Footer from "@components/footer"
|
|||||||
<slot name="content"/>
|
<slot name="content"/>
|
||||||
</div>
|
</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/>
|
<Footer/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user