How to prevent height:100svh; from eating the whole page when collapsing it vertically?
When you put height:100svh; and start resizing it vertically, page starts losing elements, on both top and bot, instead of being able to scroll at some point?
4 Replies
@Dovah Sorry, your question is not so clear
If you start resizing a window in responsive mode, when you have height:100svh; or any of viewport units, elements disapear vertically the more you make the screen smaller towards top side.
Change
height
to min-height
. it allows the container to grow when nesessary.@MarkBoots Yup, works. Still have few other problems that it creates but will figure them out. xD