Skip to content

Fix nav/logo layout shift by forcing scrollbar on tire guide pages - #118

Merged
RivianTrackr merged 1 commit into
mainfrom
claude/remove-skip-link-zovHF
Feb 20, 2026
Merged

Fix nav/logo layout shift by forcing scrollbar on tire guide pages#118
RivianTrackr merged 1 commit into
mainfrom
claude/remove-skip-link-zovHF

Conversation

@RivianTrackr

Copy link
Copy Markdown
Owner

When tire card content loads and triggers the vertical scrollbar to appear, the entire page shifts left by the scrollbar width. This uses html:has(#tireCards) to ensure the scrollbar is always present on pages containing the tire guide, preventing the CLS.

https://claude.ai/code/session_01BthvZPPLNumNqF6fuePryt

When tire card content loads and triggers the vertical scrollbar to
appear, the entire page shifts left by the scrollbar width. This uses
html:has(#tireCards) to ensure the scrollbar is always present on
pages containing the tire guide, preventing the CLS.

https://claude.ai/code/session_01BthvZPPLNumNqF6fuePryt
@RivianTrackr
RivianTrackr merged commit e8232f2 into main Feb 20, 2026
4 checks passed
@RivianTrackr
RivianTrackr deleted the claude/remove-skip-link-zovHF branch February 20, 2026 21:17
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