I have developed a mobile app in Unity (the Canvas is set to scale with screen size with reference resolution 1080x1920) and I wanted to upload it so my friends can test it out in their browsers. I built the app as a WebGL project, and then compressed the project and uploaded it to itch.io. I set the embed options to embed in page and manually specified a size of 1080 x 1920 px. When trying to view the project page in the web browser, the viewport is too large and doesn't fit in the screen.
https://gyazo.com/d60429bb97bddd119c2d9ba63584299c
When I zoom out of my web browser to make the entire screen fit, the WebGL content does not scale down and thus doesn't fit. https://gyazo.com/2899a247791c687589bc64b68802993e
How can I fix this?