Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
doc: add scroll margin to links
  • Loading branch information
silverwind committed Jul 7, 2025
commit b45b0639ce6d26bf6c8b7abd7c9aef3a0a8113ab
7 changes: 7 additions & 0 deletions doc/api_assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,10 @@ a code {
-webkit-padding-start: 1.5rem;
}

#column1 a {
scroll-margin-top: 50px;
}

#column2.interior {
width: 234px;
background-color: var(--color-fill-side-nav);
Expand Down Expand Up @@ -837,6 +841,9 @@ kbd {
.api_stability {
top: 0;
}
#column1 a {
scroll-margin-top: 0;
}
}

@media not screen, (max-height: 1000px) {
Expand Down
Loading