Skip to content

fix: add scroll-padding to accommodate for the sticky header height#497

Merged
SeanCassiere merged 1 commit intoTanStack:mainfrom
DamianOsipiuk:do/add-scroll-padding
Sep 27, 2025
Merged

fix: add scroll-padding to accommodate for the sticky header height#497
SeanCassiere merged 1 commit intoTanStack:mainfrom
DamianOsipiuk:do/add-scroll-padding

Conversation

@DamianOsipiuk
Copy link
Contributor

Adds scroll-padding-top to accommodate for sticky header.

Otherwise all anchor links are scrolled too far and user would not see the header that was linked to as it's behind the header.

scroll-padding-fix.mp4

@netlify
Copy link

netlify bot commented Sep 26, 2025

Deploy Preview for tanstack failed. Why did it fail? →

Name Link
🔨 Latest commit 32adb4b
🔍 Latest deploy log https://app.netlify.com/projects/tanstack/deploys/68d679d5a474e80008839847

Copy link
Member

@SeanCassiere SeanCassiere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed this works locally, as our Convex preview builds are currently bugged out.

@SeanCassiere SeanCassiere merged commit 7c1259a into TanStack:main Sep 27, 2025
1 of 6 checks passed
LeCarbonator pushed a commit to LeCarbonator/tanstack.com that referenced this pull request Jan 11, 2026
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.

2 participants