Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: update animated grid pattern size

Dillion Verma664b5f91a9bd
diff --git a/registry/components/example/animated-grid-pattern-demo.tsx b/registry/components/example/animated-grid-pattern-demo.tsx
index 36b66d67..aa473379 100644
--- a/registry/components/example/animated-grid-pattern-demo.tsx
+++ b/registry/components/example/animated-grid-pattern-demo.tsx
@@ -5,7 +5,7 @@ import AnimatedGridPattern from "@/registry/components/magicui/animated-grid-pat
const AnimatedGridPatternDemo = () => {
return (
- <div className="relative flex h-full w-full items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl">
+ <div className="relative flex h-full w-full max-w-[32rem] items-center justify-center overflow-hidden rounded-lg border bg-background p-20 md:shadow-xl">
<p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">
Animated Grid Pattern
</p>