Skip to content

Commit

Permalink
adjust scroll padding
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinem committed Sep 12, 2024
1 parent c508119 commit e21e405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rdoc/generator/template/rorvswild/css/rdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ html {
font-weight: normal;
font-size: 14px;
font-optical-sizing: auto;
scroll-padding-top: calc(40px - 0.5em);
scroll-padding-top: calc(40px + 1em);
scroll-behavior: smooth;
font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}
Expand Down

0 comments on commit e21e405

Please sign in to comment.