Skip to content

Direct links to sections don't navigate correctly on larger screens #272

@qudix

Description

@qudix

Xmake Version

N/A

Operating System Version and Architecture

Windows 11

Describe Bug

When using a direct link to a section like this:

https://xmake.io/api/description/project-target.html#set-installdir

it will open a new tab, but instead of focusing on the section in question, it ends up here instead:

Image

further testing shows that this behavior does not happen if the browser window is smaller (ie, not ultrawide):

Image

I assume this is a bug with the docs frontend being used and not anything in this repo specifically, but I'm not sure if anything can be done about that or whether a bug report should be filed to them instead.

Expected Behavior

Navigate to linked sections on larger screens correctly.

Project Configuration

N/A

Additional Information and Error Logs

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions