From fdb2fe6ef685871b0c842bf9d24dd1f6a83e54a7 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 18 Nov 2021 16:17:14 +0100 Subject: Improved sticky footer --- assets/css/components/_footer.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'assets/css/components') diff --git a/assets/css/components/_footer.scss b/assets/css/components/_footer.scss index d33e929..7106be2 100644 --- a/assets/css/components/_footer.scss +++ b/assets/css/components/_footer.scss @@ -7,8 +7,8 @@ )); @include component(namespace()) { - position: relative; - margin-top: auto; + position: sticky; + top: 100vh; overflow: hidden; color: prop(--colors --fg); font-family: $font-fam--mono; -- cgit v1.2.3-70-g09d2