Skip to content

Fix horizontal scrollbars caused by nav bar - #293

Merged
davepagurek merged 1 commit into
mainfrom
fix/horizontal-scroll
Apr 29, 2024
Merged

Fix horizontal scrollbars caused by nav bar#293
davepagurek merged 1 commit into
mainfrom
fix/horizontal-scroll

Conversation

@davepagurek

@davepagurek davepagurek commented Apr 27, 2024

Copy link
Copy Markdown
Collaborator

Resolves #289

Turns out it was because it was using 100vw, which does not subtract the width of the vertical scroll bar, causing a slight overflow the size of the scroll bar width. Using 100% seems to fix it. I also replaced a hardcoded 200px with the variable for the sidebar offset.

image

@davepagurek
davepagurek merged commit 10c2e4f into main Apr 29, 2024
@davepagurek
davepagurek deleted the fix/horizontal-scroll branch April 29, 2024 13:22
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.

Something (maybe the header?) is causing horizontal scrolling

1 participant