thing is, this setup works just fine for other unity webgl games, there must be a resolution setting somewhere inside unity to fix this issue.
or maybe this https://lvl12games.com/auto-sizing-a-webgl-unity-game/
Thx, I will check it out sometime. For now, I would suggest just downloading it, I will fix this when I'm done with the game.