I've been trying to find a way to automatically resize my webpage to fit the height on mobile devices. On the left side of the screen, you can see the version without any scaling applied, while on the right side, I adjusted the page using the "initial-scale" attribute:
https://i.sstatic.net/O6oRo.png
Here's how I managed to adjust the right side of the screen:
<meta name="viewport" content="height=device-height, initial-scale=0.82">
I'm curious if there is a method (using HTML, CSS, JS?) that would automatically resize the display of my webpage without the need to manually set the "initial-scale" property? Any tips or suggestions on this topic would be greatly appreciated. Thank you!