diff --git a/src/app.css b/src/app.css index 79255df..cb81043 100644 --- a/src/app.css +++ b/src/app.css @@ -17,9 +17,16 @@ body { display: flex; justify-content: center; + flex-direction: column; margin: 0; width: 100%; - min-height: 100vh; + height: 100%; +} + +main { + flex: 1; /* This pushes footer to bottom */ + padding: 20px; + min-height: 85vh; } #app { diff --git a/src/lib/Footer.svelte b/src/lib/Footer.svelte index 22f6fd2..c2d1693 100644 --- a/src/lib/Footer.svelte +++ b/src/lib/Footer.svelte @@ -4,15 +4,46 @@