Stick footer to bottom with mt-auto
This commit is contained in:
parent
e8802b8a32
commit
f10234b72f
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ import { JSXElement } from "solid-js";
|
|||
|
||||
export function Footer(): JSXElement {
|
||||
return (
|
||||
<footer class="footer footer-center rounded bg-base-200 p-10 text-base-content">
|
||||
<footer class="footer footer-center rounded mt-auto bg-base-200 p-10 text-base-content">
|
||||
<nav class="grid grid-flow-col gap-4">
|
||||
<a class="link-hover link">About us</a>
|
||||
<a class="link-hover link">Contact</a>
|
||||
|
|
|
@ -3,7 +3,7 @@ import { JSXElement } from "solid-js";
|
|||
// MainContainer is the main container for the page.
|
||||
export function PageContainer(props: { children: JSXElement }): JSXElement {
|
||||
return (
|
||||
<div class="flex min-h-screen flex-col items-center justify-between">
|
||||
<div class="flex min-h-screen flex-col items-center">
|
||||
{props.children}
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue