From 3b555aaf61f91796109c692f39a30f8499047397 Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Mon, 24 Feb 2020 08:31:14 +0100 Subject: [PATCH] Limit to `scroll-margin-top` to elements with an id --- site/assets/scss/_content.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/assets/scss/_content.scss b/site/assets/scss/_content.scss index b01547758d..23dd3a7ff5 100644 --- a/site/assets/scss/_content.scss +++ b/site/assets/scss/_content.scss @@ -6,7 +6,7 @@ order: 1; // Offset for the sticky header - > * { + > [id] { @include media-breakpoint-up(md) { scroll-margin-top: 4rem; } -- 2.47.2