Skip to content

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

🐛 fix: testimonial height

Dillion Verma07c4e224cff1
diff --git a/components/landing/testimonials.tsx b/components/landing/testimonials.tsx
index d4896cd5..d7092d60 100644
--- a/components/landing/testimonials.tsx
+++ b/components/landing/testimonials.tsx
@@ -36,14 +36,14 @@ export default async function Testimonials() {
<Marquee className="max-w-screen [--duration:120s]" pauseOnHover>
{firstRow.map((id, idx) => (
<FadeIn delay={0.06 + idx * 0.04} key={idx}>
- <TweetCard id={id} className="h-36 w-72 min-w-[18rem]" />
+ <TweetCard id={id} className="max-h-32 w-72 min-w-[18rem]" />
</FadeIn>
))}
</Marquee>
<Marquee className="max-w-screen [--duration:120s]" reverse pauseOnHover>
{secondRow.map((id, idx) => (
<FadeIn delay={0.06 + 0.04 * (secondRow.length - idx)} key={idx}>
- <TweetCard id={id} className="h-36 w-72 min-w-[18rem]" />
+ <TweetCard id={id} className="max-h-32 w-72 min-w-[18rem]" />
</FadeIn>
))}
</Marquee>
diff --git a/registry/components/magicui/tweet-card.tsx b/registry/components/magicui/tweet-card.tsx
index 36274dc7..f07a0b23 100644
--- a/registry/components/magicui/tweet-card.tsx
+++ b/registry/components/magicui/tweet-card.tsx
@@ -220,7 +220,7 @@ export const MagicTweet = ({
return (
<div
className={cn(
- "relative flex max-h-max w-full max-w-[32rem] flex-col gap-2 overflow-hidden rounded-lg border p-4 backdrop-blur-md",
+ "relative flex h-full w-full max-w-[32rem] flex-col gap-2 overflow-hidden rounded-lg border p-4 backdrop-blur-md",
className,
)}
{...props}