From 4dde3e4bb1f97a62bc71693cdbc7d884d72eb22b Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 24 Jul 2020 23:48:00 +0100 Subject: [PATCH] Fix index showing scrollbars Now the navbar exists on the page, it needs to be accounted for when doing heights --- static/src/scss/style.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index 39b9af4..0888e1c 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -4,6 +4,7 @@ $body-color: $gray-300; +$navbar-height: 40px; html, body { @@ -108,7 +109,7 @@ table td { #index-header { width: 100%; - height: calc(100vh - #{$footer-height}); + height: calc(100vh - #{$footer-height} - #{$navbar-height}); } footer {