Skip to content

Commit

Permalink
Limit to scroll-margin-top to elements with an id
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnCuppens committed Feb 24, 2020
1 parent c2a3854 commit aefdafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/assets/scss/_content.scss
Expand Up @@ -6,7 +6,7 @@
order: 1;

// Offset for the sticky header
> * {
> [id] {
@include media-breakpoint-up(md) {
scroll-margin-top: 4rem;
}
Expand Down

0 comments on commit aefdafc

Please sign in to comment.