html, body { padding: 0; margin: 0; } html { width: 100vw; height: 100vh; } #root { width: 100%; height: 100%; }