UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: minor styling fixes
Dillion Verma2a1dcf484b94
diff --git a/registry/components/example/dot-pattern-demo.tsx b/registry/components/example/dot-pattern-demo.tsxindex d41cc188..99a4b6a3 100644--- a/registry/components/example/dot-pattern-demo.tsx+++ b/registry/components/example/dot-pattern-demo.tsx@@ -5,13 +5,13 @@ import DotPattern from "@/registry/components/magicui/dot-pattern";const DotPatternDemo = () => {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">Dot Pattern</p><DotPatternclassName={cn(- "[mask-image:radial-gradient(400px_circle_at_center,white,transparent)]",+ "[mask-image:radial-gradient(200px_circle_at_center,white,transparent)]",)}/></div>diff --git a/registry/components/example/grid-pattern-demo.tsx b/registry/components/example/grid-pattern-demo.tsxindex a4726d28..82d8e1bf 100644--- a/registry/components/example/grid-pattern-demo.tsx+++ b/registry/components/example/grid-pattern-demo.tsx@@ -5,7 +5,7 @@ import GridPattern from "@/registry/components/magicui/grid-pattern";const GridPatternDemo = () => {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">Grid Pattern</p>@@ -19,7 +19,7 @@ const GridPatternDemo = () => {[13, 3],]}className={cn(- "[mask-image:radial-gradient(300px_circle_at_center,white,transparent)]",+ "[mask-image:radial-gradient(200px_circle_at_center,white,transparent)]","inset-x-0 inset-y-[-30%] h-[200%] skew-y-12",)}/>diff --git a/registry/components/example/linear-gradient-demo.tsx b/registry/components/example/linear-gradient-demo.tsxindex ee0c3981..745068f5 100644--- a/registry/components/example/linear-gradient-demo.tsx+++ b/registry/components/example/linear-gradient-demo.tsx@@ -2,7 +2,7 @@ import LinearGradient from "@/registry/components/magicui/linear-gradient";export default function LinearGradientDemo() {return (- <div className="relative flex h-full w-full items-center justify-center 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 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">Linear Gradient</p>diff --git a/registry/components/example/meteors-demo.tsx b/registry/components/example/meteors-demo.tsxindex 62c51318..a543c022 100644--- a/registry/components/example/meteors-demo.tsx+++ b/registry/components/example/meteors-demo.tsx@@ -2,7 +2,7 @@ import Meteors from "@/registry/components/magicui/meteors";export default function MeteorDemo() {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"><Meteors number={30} /><p className="z-10 whitespace-pre-wrap text-center text-5xl font-medium tracking-tighter text-black dark:text-white">Meteorsdiff --git a/registry/components/example/radial-gradient-demo.tsx b/registry/components/example/radial-gradient-demo.tsxindex 882a44d3..951a06ad 100644--- a/registry/components/example/radial-gradient-demo.tsx+++ b/registry/components/example/radial-gradient-demo.tsx@@ -2,7 +2,7 @@ import RadialGradient from "@/registry/components/magicui/radial-gradient";export default function RadialGradientDemo() {return (- <div className="relative flex h-full w-full items-center justify-center 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 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">Radial Gradient</p>diff --git a/registry/components/example/ripple-demo.tsx b/registry/components/example/ripple-demo.tsxindex 8f708853..e5bd5130 100644--- a/registry/components/example/ripple-demo.tsx+++ b/registry/components/example/ripple-demo.tsx@@ -2,7 +2,7 @@ import Ripple from "@/registry/components/magicui/ripple";const RippleDemo = () => {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-white">Ripple</p>