Skip to content

Anchor links have incorrect offset from top of screen #667

@choldgraf

Description

@choldgraf

When you click an in-page link (e.g. an anchor link) the link target is partially blocked by the article header.

This is because we are over-riding the header-height here to be 0px:

The pydata theme is setting scroll-padding-top to be relative to this height, which is why setting the height to 0 is causing this to overlap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions