fix: ensure footer stays at bottom
This commit is contained in:
3
apps/scandic-web/components/Footer/footer.module.css
Normal file
3
apps/scandic-web/components/Footer/footer.module.css
Normal file
@@ -0,0 +1,3 @@
|
||||
.footer {
|
||||
margin-top: auto;
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user