Add anchor id to shareon

This commit is contained in:
Jake Howard 2024-01-02 23:36:08 +00:00
parent f790fb08b9
commit 10e8950aef
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,5 @@
.shareon-container { .shareon-container {
scroll-margin-top: var(--hero-height); // hero height (ish)
margin-top: 1rem; margin-top: 1rem;
.shareon { .shareon {

View file

@ -1,6 +1,6 @@
{% load util_tags %} {% load util_tags %}
<section class="container has-text-centered shareon-container"> <section class="container has-text-centered shareon-container" id="shareon">
<p>Share this page</p> <p>Share this page</p>
<div class="shareon" data-title="{{ page.title }}" data-url="{% pagefullurl page %}"> <div class="shareon" data-title="{{ page.title }}" data-url="{% pagefullurl page %}">
<a class="facebook" title="Share on Facebook"></a> <a class="facebook" title="Share on Facebook"></a>