From 379d58d06989b49528620de8def967c4f34097a6 Mon Sep 17 00:00:00 2001 From: Nick Date: Fri, 16 Aug 2019 13:39:49 -0400 Subject: [PATCH] fix: anchor scroll offset --- client/themes/default/scss/app.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/client/themes/default/scss/app.scss b/client/themes/default/scss/app.scss index 4c818b00..ba3c5079 100644 --- a/client/themes/default/scss/app.scss +++ b/client/themes/default/scss/app.scss @@ -165,6 +165,19 @@ } } + // scroll offset fix + + h1:before, h2:before, h3:before, h4:before, h5:before, h6:before { + display: block; + content: " "; + width: 1px; + height: 1px; + margin-top: -75px; + height: 75px; + visibility: hidden; + z-index: -1; + } + // --------------------------------- // PARAGRAPHS // ---------------------------------