Skip to content

Commit 9804731

Browse files
cloydlaumarco-ippolito
authored andcommitted
doc: update scroll-padding-top to 4rem
PR-URL: #53662 Reviewed-By: Claudio Wunder <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent b8d2bbc commit 9804731

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

doc/api_assets/style.css

+1-8
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@
4040
--color-text-secondary: var(--green2);
4141
}
4242

43-
h2 :target,
44-
h3 :target,
45-
h4 :target,
46-
h5 :target {
47-
scroll-margin-top: 55px;
48-
}
49-
5043
.dark-mode {
5144
--background-color-highlight: var(--black2);
5245
--color-critical: var(--red4);
@@ -76,7 +69,7 @@ h5 :target {
7669
html {
7770
font-size: 1rem;
7871
overflow-wrap: break-word;
79-
scroll-padding-top: 50vh;
72+
scroll-padding-top: 4rem;
8073
-webkit-font-smoothing: antialiased;
8174
-moz-osx-font-smoothing: grayscale;
8275
-webkit-font-variant-ligatures: none;

0 commit comments

Comments
 (0)