From 6946d5fb07ede0d315785351b864f9cceb02e990 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Thu, 13 Jun 2024 18:03:39 +0800 Subject: [PATCH] Increase scroll margin block of foornote reference target --- src/assets/css/plugins.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/assets/css/plugins.css b/src/assets/css/plugins.css index 37b8d7cc..b798192d 100644 --- a/src/assets/css/plugins.css +++ b/src/assets/css/plugins.css @@ -38,6 +38,10 @@ margin-left: 0.2em; } +.footnote-ref a:target { + scroll-margin-block: calc(var(--sz-navbar-ht) + 5ex); +} + .footnotes { margin-top: 3em; border-top: 0.15em solid var(--clr-title-border);