height 100vh problem on page load

Hey there. I have encountered a problem with height 100vh (svh etc.) On mobile device. (I have no idea why on an old phone it works how it supposed to). After I hit enter when entering IP address it looks like that and when I move screen it fixes everything
10 Replies
glutonium
glutonium2y ago
what have u given height 100vh to? have u tried changing to max-height or min-height
SaaikaHatak
SaaikaHatakOP2y ago
For a section div. No matter if its min-height or height.
glutonium
glutonium2y ago
well why did u give section div a height 100vh what was the reason?
SaaikaHatak
SaaikaHatakOP2y ago
Each section supposed to take 100vh of space At least
glutonium
glutonium2y ago
well in that case u should've used grid then that would've been better but anyway it's hard to tell why that's happening are there any margin or padding on the text that might be causing the problem?
SaaikaHatak
SaaikaHatakOP2y ago
hero section
SaaikaHatak
SaaikaHatakOP2y ago
its main app
SaaikaHatak
SaaikaHatakOP2y ago
here is section template
SaaikaHatak
SaaikaHatakOP2y ago
OK. It seems it was something with the device. After reinstalling chrome it works fine
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server