From ee30063de627f85c8497b7f590e14a35239e4e61 Mon Sep 17 00:00:00 2001 From: Iris System Date: Mon, 13 Sep 2021 19:41:59 +1200 Subject: [PATCH] styles: properly pin footer to page end --- _sass/index.scss | 5 ----- styles.scss | 6 ++++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/_sass/index.scss b/_sass/index.scss index 0dd8aa3..d7abe2c 100644 --- a/_sass/index.scss +++ b/_sass/index.scss @@ -1,10 +1,5 @@ .index-container { - height: 100%; - min-height: 100vh; - width: 100%; - max-width: 100vw; - display: flex; flex-flow: column wrap; align-items: center; diff --git a/styles.scss b/styles.scss index b1bef14..0790f6a 100644 --- a/styles.scss +++ b/styles.scss @@ -16,6 +16,9 @@ body max-width: 100vw; width: auto; + display: flex; + flex-direction: column; + margin: 0; padding: 0; @@ -35,10 +38,9 @@ a .container { - height: 100%; - min-height: 100vh; width: 100%; max-width: 100vw; + flex: 1; padding: 1rem; }