Skip to content

Commit dfccb43

Browse files
committed
Add scroll-margin-top on all :target elements
1 parent 2b393e9 commit dfccb43

File tree

1 file changed

+1
-0
lines changed
  • lib/rdoc/generator/template/darkfish/css

1 file changed

+1
-0
lines changed

lib/rdoc/generator/template/darkfish/css/rdoc.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ h5:target,
8484
h6:target {
8585
margin-left: -10px;
8686
border-left: 10px solid #f1edba;
87+
scroll-margin-top: 1rem;
8788
}
8889

8990
/* 4. Links */

0 commit comments

Comments
 (0)