Fix browser scrolling bug when viewport height is insufficient #69
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #36 - Resolves the browser scrolling bug where content gets clipped with no scrollbar when browser window height is insufficient.
Changes Made
height: 100%tomin-height: 100vhon body elementoverflow-x: hiddento html element to prevent unwanted horizontal scrollbarsTechnical Details
The issue was caused by
height: 100%on the body element, which constrains the body to exactly the viewport height. When content exceeds this height, it gets clipped because the body cannot expand.By changing to
min-height: 100vh, the body:Testing
✅ Content now scrolls properly when it exceeds viewport height
✅ No horizontal scrollbars appear unexpectedly
✅ Existing responsive design still works correctly
✅ Both light and dark themes function properly
Type of Change
This is a simple but important fix that improves the user experience for visitors with smaller screens or windows.