From 709277929bbce8e1ce39b47acc398fadeef72e22 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 3 Jul 2021 00:32:56 +0100 Subject: [PATCH] Fix footer not sticking to bottom of screen It's a hack, but the issue is more annoting than the hack. --- static/src/scss/style.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index a19bff1..8777d2f 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -129,6 +129,9 @@ footer { #main { margin-top: $spacer * 5; + + // screen height - top padding - navbar height - footer margin + min-height: calc(100vh - #{$spacer * 5} - #{$navbar-height} - #{$spacer * 3}); } .list-page-item {