From 4f628fb090ae3176ca572d2803db1a4da8fb6ac7 Mon Sep 17 00:00:00 2001 From: bodie Date: Sun, 22 Oct 2023 17:09:43 +0200 Subject: [PATCH] fix: scroll margin top for subtitles too smal; --- src/index.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.scss b/src/index.scss index 266d4f7..2ce7a74 100644 --- a/src/index.scss +++ b/src/index.scss @@ -44,7 +44,7 @@ scroll-margin-top: 128px; } h2, h3, h4, h5, h6 { - scroll-margin-top: 32px; + scroll-margin-top: calc(64px + var(--base-size-16, 16px) + 10px); } h1, h2, h3 { color: var(--color-primary);