Merged in fix/footer-at-bottom (pull request #1480)
fix: ensure footer stays at bottom Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -151,6 +151,8 @@ body {
|
||||
body {
|
||||
min-height: 100dvh;
|
||||
overflow-x: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
body.overflow-hidden {
|
||||
|
||||
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