Skip to content

Commit 95fd6b8

Browse files
Fix scroll-margin-top for schema reference page
When navigating to a particular type member on the schema reference page, the sitewide tab bar overlaps the target content. This commit adjusts the CSS `scroll-margin-top` property so that the target content is positioned just below the tab bar.
1 parent 32c065d commit 95fd6b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ body:has(#schema-reference) {
168168
font-family: var(--font-mono);
169169
font-weight: 700;
170170

171-
scroll-margin-top: 5rem;
171+
scroll-margin-top: 8rem;
172172
}
173173

174174
& > .tsd-comment,

0 commit comments

Comments
 (0)