Skip to content

Conversation

@mootari
Copy link

@mootari mootari commented Jan 5, 2025

Prevents sticky headings from covering framework names when navigating to a component via the sidebar.

Before After
before, without scrollbar after, without scrollbar
before, with scrollbar after, with scrollbar

Prevents sticky headings from covering framework names when navigating to a component via the sidebar.
@mootari mootari changed the title fix(ui): add scroll padding Account for header bar in scroll target offsets Jan 5, 2025
@mootari
Copy link
Author

mootari commented Jan 5, 2025

It may also help to show when content is covered by the sticky headings, by applying the same blur filter that's already used for the Header component. Unfortunately that may be more involved since the lack of a left padding would cause the blur effect to just cut off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant