Skip to content
Discussion options

You must be logged in to vote

On mobile, 100vh is the largest viewport (toolbar hidden), so when the address bar is visible your 100vh element is taller than the visible area and the bottom is cut off. Use the dynamic viewport units instead: 100dvh tracks the currently-visible height, and svh/lvh give the small/large extremes when you need them.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Kevinchamplin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant