html, body, #root { width: 100%; height: 100%; margin: 0; } body { overflow: hidden; } canvas { display: block; }