From 10e8950aef9afdbc0d233052c7bd1ffa509491e5 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 2 Jan 2024 23:36:08 +0000 Subject: [PATCH] Add anchor id to shareon --- static/src/scss/_shareon.scss | 1 + website/common/templates/common/shareon.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/static/src/scss/_shareon.scss b/static/src/scss/_shareon.scss index 83d0012..8592201 100644 --- a/static/src/scss/_shareon.scss +++ b/static/src/scss/_shareon.scss @@ -1,4 +1,5 @@ .shareon-container { + scroll-margin-top: var(--hero-height); // hero height (ish) margin-top: 1rem; .shareon { diff --git a/website/common/templates/common/shareon.html b/website/common/templates/common/shareon.html index c72298c..47651b8 100644 --- a/website/common/templates/common/shareon.html +++ b/website/common/templates/common/shareon.html @@ -1,6 +1,6 @@ {% load util_tags %} -
+

Share this page