Skip to content

Commit

Permalink
doc: apply scroll-margin-top to h2, h3 elements
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym committed Aug 26, 2022
1 parent 5181600 commit 852b097
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/api_assets/style.css
Expand Up @@ -40,6 +40,8 @@
--color-text-secondary: var(--green2);
}

h2 :target,
h3 :target,
h4 :target,
h5 :target {
scroll-margin-top: 55px;
Expand Down

0 comments on commit 852b097

Please sign in to comment.