From f6db297b9c46c993de4f08de3048c9152da60d97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Mur=C3=A7a?= Date: Fri, 11 Apr 2025 09:05:23 -0300 Subject: [PATCH] Redesign footer --- src/app.css | 9 ++++++++- src/lib/Footer.svelte | 37 ++++++++++++++++++++++++++++++++++--- 2 files changed, 42 insertions(+), 4 deletions(-) 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 @@