From e7e07c90c2e1f0e5a249ef10b4af4239e548725b Mon Sep 17 00:00:00 2001 From: Vitor Hideyoshi Date: Fri, 13 Oct 2023 11:18:28 -0300 Subject: [PATCH] Fixes Footer Location --- src/app/app.component.css | 3 +++ src/app/app.component.html | 4 +++- src/app/footer/footer.component.css | 6 +++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/app/app.component.css b/src/app/app.component.css index e69de29..0730e93 100644 --- a/src/app/app.component.css +++ b/src/app/app.component.css @@ -0,0 +1,3 @@ +.app-body { + min-height: 74vh; +} diff --git a/src/app/app.component.html b/src/app/app.component.html index 20c39af..898fe16 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,5 +1,7 @@ - +
+ +
diff --git a/src/app/footer/footer.component.css b/src/app/footer/footer.component.css index 37e3577..0feb53c 100644 --- a/src/app/footer/footer.component.css +++ b/src/app/footer/footer.component.css @@ -1,5 +1,9 @@ +footer { + max-height: 100px; + margin-top: auto; +} + .page-footer { - position: absolute; bottom: 0; width: 100%; }