Skip to content

Commit

Permalink
doc: update scroll-padding-top to 4rem
Browse files Browse the repository at this point in the history
PR-URL: nodejs#53662
Reviewed-By: Claudio Wunder <cwunder@gnome.org>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
cloydlau authored and ehsankhfr committed Jul 18, 2024
1 parent 5d675ee commit c1e9186
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions doc/api_assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,6 @@
--color-text-secondary: var(--green2);
}

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

.dark-mode {
--background-color-highlight: var(--black2);
--color-critical: var(--red4);
Expand Down Expand Up @@ -76,7 +69,7 @@ h5 :target {
html {
font-size: 1rem;
overflow-wrap: break-word;
scroll-padding-top: 50vh;
scroll-padding-top: 4rem;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-font-variant-ligatures: none;
Expand Down

0 comments on commit c1e9186

Please sign in to comment.