]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Limit to `scroll-margin-top` to elements with an id
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Mon, 24 Feb 2020 07:31:14 +0000 (08:31 +0100)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 12 Mar 2020 15:56:16 +0000 (17:56 +0200)
site/assets/scss/_content.scss

index b01547758dfbacc5e5117e2fff84d24b88b1f24b..23dd3a7ff58e560b06cdf12b5e310a7f71c116ae 100644 (file)
@@ -6,7 +6,7 @@
   order: 1;
 
   // Offset for the sticky header
-  > * {
+  > [id] {
     @include media-breakpoint-up(md) {
       scroll-margin-top: 4rem;
     }