fix(frontend): resolve login page flickering and resize observer loop. (#2954)

* fix(frontend): resolve login page flickering and resize observer loop.

* fix(frontend): allow vertical scrolling on login page

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
jinghuan-Chen
2026-05-17 09:01:42 +08:00
committed by GitHub
parent a814ab50b5
commit c0233cae26
2 changed files with 3 additions and 3 deletions
@@ -186,12 +186,12 @@ export const FlickeringGrid: React.FC<FlickeringGridProps> = ({
return (
<div
ref={containerRef}
className={cn(`h-full w-full ${className}`)}
className={cn("h-full w-full overflow-hidden", className)}
{...props}
>
<canvas
ref={canvasRef}
className="pointer-events-none"
className="pointer-events-none block"
style={{
width: canvasSize.width,
height: canvasSize.height,