Skip to content

Commit

Permalink
Add scroll-margin-top on all :target elements (#1174)
Browse files Browse the repository at this point in the history
Co-authored-by: Stan Lo <stan001212@gmail.com>
  • Loading branch information
omegahm and st0012 authored Oct 17, 2024
1 parent 716bc16 commit 7398e5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rdoc/generator/template/darkfish/css/rdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ h5:target,
h6:target {
margin-left: -10px;
border-left: 10px solid var(--source-code-background-color);
scroll-margin-top: 1rem;
}

/* 4. Links */
Expand Down

0 comments on commit 7398e5b

Please sign in to comment.