You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scroll-pt-top on the body makes up for the sticky header exactly, and elements that want to have a little extra space can set scroll-mt to be used in addition.
Nice addition. I think we can add them to other linkers as well like details link, args link etc which also provide hash links beside headers.
That PR added scroll-margin to docs headings, meaning that when navigated to via anchor (e.g. href="#heading-id") the docs headings will have some extra space above them instead of hugging the navbar. This Issue tracks adding scroll-margin to other elements throughout the site that would benefit the same way.
The text was updated successfully, but these errors were encountered:
rogermparent
changed the title
Add scroll margin to id'ed elements that need it
Add scroll margin to anchor targets that need it
Nov 30, 2022
Originally posted by @yathomasi in #140 (comment)
That PR added
scroll-margin
to docs headings, meaning that when navigated to via anchor (e.g.href="#heading-id"
) the docs headings will have some extra space above them instead of hugging the navbar. This Issue tracks addingscroll-margin
to other elements throughout the site that would benefit the same way.The text was updated successfully, but these errors were encountered: