fix: ensure footer stays at bottom

This commit is contained in:
Christian Andolf
2025-03-05 13:50:52 +01:00
parent 4ab586660a
commit 11a1f35bbf
3 changed files with 8 additions and 1 deletions

View File

@@ -151,6 +151,8 @@ body {
body {
min-height: 100dvh;
overflow-x: hidden;
display: flex;
flex-direction: column;
}
body.overflow-hidden {

View File

@@ -0,0 +1,3 @@
.footer {
margin-top: auto;
}

View File

@@ -6,6 +6,8 @@ import CurrentFooter from "@/components/Current/Footer"
import FooterDetails from "./Details"
import FooterNavigation from "./Navigation"
import styles from "./footer.module.css"
export function preload() {
void getFooter()
}
@@ -18,7 +20,7 @@ export default function Footer() {
preload()
return (
<footer>
<footer className={styles.footer}>
<FooterNavigation />
<FooterDetails />
</footer>