I have an android smartphone with a FullHD screen (1920*1080). And I am building a game with Default Canvas settings: 1280*720. And in my html template I've set canvas size:
<div id="gameContainer" style="width: 1280px; height: 720px; margin: auto"></div>
But when I run the game in landscape orientation on my smartphone, it can't fit to the screen, it is too big! Why? It supposed to be smaller then 1080p browser screen. Also, in portrait mode everything is fine and game's window is scaled properly to fit the screen.
I've tried to use meta viewport tag. With it I've managed to fit the canvas to the screen, but it had broken everything else.
Unity version is 2018.2.7. Mobile browser is Chrome for Android.