just a tip - i assume you're using unity.
on the canvas gameobject, try setting it to scale with screen size - attempt to make it a 1920 by 1080 canvas.
on the webgl build, go on player settings, then on resolution and presentation and set it to minimized - it should make the game look better. also maybe set the game build size to 960 by 540 for better experience