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: #53662
Reviewed-By: Claudio Wunder <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
cloydlau authored and aduh95 committed Jul 16, 2024
1 parent 9bde9b2 commit 2d92ec2
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 2d92ec2

Please sign in to comment.