Skip to content

Commit d6191f1

Browse files
chore: center grid background content
1 parent 538db03 commit d6191f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/grid-background/grid-background.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ export function GridBackground({ children }: GridBackgroundProps) {
1515
return (
1616
<div className="min-w-full min-h-screen relative">
1717
<canvas ref={canvasRef} className="absolute inset-0 z-0" {...size} />
18-
<main className="relative z-10">{children}</main>
18+
<main className="relative z-10 w-full h-dvh flex items-center justify-center">
19+
{children}
20+
</main>
1921
</div>
2022
);
2123
}

0 commit comments

Comments
 (0)