Skip to content

Commit

Permalink
docsite: Fix anchor margin on page reload
Browse files Browse the repository at this point in the history
Fix anchor margin on page reload where in Chrome the heading had no padding
towards the top.
  • Loading branch information
juliaogris committed May 20, 2024
1 parent 56a3c85 commit 950f4c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/docs/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ li::marker {
padding-bottom: 40px;
}

:target {
:target,
.anchor {
scroll-margin-top: 20px;
}
/* --- Elements -------------------------------------------------------- */
Expand Down

0 comments on commit 950f4c8

Please sign in to comment.