From 664e59cf37f3c4a1a27d0d708d5a7b90d3f47566 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 4 Jul 2022 20:58:51 +0100 Subject: [PATCH] Ensure headings are still visible when scrolling to them --- static/src/scss/_content.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/static/src/scss/_content.scss b/static/src/scss/_content.scss index 683e976..48a5a34 100644 --- a/static/src/scss/_content.scss +++ b/static/src/scss/_content.scss @@ -8,6 +8,7 @@ section.content { h5, h6 { .heading-anchor { + scroll-margin-top: 160px; // navbar height (ish) margin-right: 0.5rem; } }