Skip to content

Commit

Permalink
doc: update scroll-padding-top to 4rem
Browse files Browse the repository at this point in the history
  • Loading branch information
cloydlau committed Jul 9, 2024
1 parent c1dc307 commit 5c55c3e
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 5c55c3e

Please sign in to comment.