Skip to content

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

fix: small bug fixes

Dillion Verma8881c32ef8d7
diff --git a/components/landing/hero-client.tsx b/components/landing/hero-client.tsx
index 5ff81d98..ca1e4ad5 100644
--- a/components/landing/hero-client.tsx
+++ b/components/landing/hero-client.tsx
@@ -291,7 +291,7 @@ export default function HeroClient({
<BentoDemo />
- <div className="mt-4 grid w-full grid-cols-1 justify-center gap-4 lg:grid-cols-2">
+ <div className="mt-4 grid w-full grid-cols-1 place-items-center justify-center gap-4 lg:grid-cols-2">
<AnimatedBeamMultipleInputDemo />
<AnimatedListDemo />
<RetroGridDemo />
diff --git a/registry/components/example/retro-grid-demo.tsx b/registry/components/example/retro-grid-demo.tsx
index 4a848dc9..86e6dace 100644
--- a/registry/components/example/retro-grid-demo.tsx
+++ b/registry/components/example/retro-grid-demo.tsx
@@ -4,7 +4,7 @@ import RetroGrid from "@/registry/components/magicui/retro-grid";
const RetroGridDemo = () => {
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">
<span className="pointer-events-none z-10 whitespace-pre-wrap bg-gradient-to-b from-[#ffd319] via-[#ff2975] to-[#8c1eff] bg-clip-text text-center text-7xl font-bold leading-none tracking-tighter text-transparent">
Retro Grid
</span>