Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: improve fragment (:target) anchors behavior on HTML version #42739

Merged
merged 1 commit into from
Apr 17, 2022

Commits on Apr 14, 2022

  1. doc: improve fragment (:target) anchors behavior on HTML version

    This commit aims to improve the UX when navigating the docs using links
    to subsections. Previously the browser would scroll down to the section
    body, skipping the section heading. Using `scroll-margin-top` CSS
    property, we can fix this behavior (at least on some browsers).
    
    Links to other versions are now updated with the current targeted hash
    to improve the UX when navigating from docs of one release line to
    another.
    
    I've also removed syntax not parsable by older browsers (arrow functions
    and array destructuring) since the diff is pretty small and should
    improve UX on those browsers.
    aduh95 committed Apr 14, 2022
    Configuration menu
    Copy the full SHA
    a49a4ed View commit details
    Browse the repository at this point in the history