Skip to content

Commit 7a4af55

Browse files
Fix: add shrink-0 class to avatar in ReviewCard for better layout control
1 parent e115e72 commit 7a4af55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Testimonials.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const ReviewCard = ({
6868
/>
6969
) : (
7070
<motion.div
71-
className="w-12 h-12 flex items-center justify-center rounded-full border border-gray-300 bg-gray-400 text-white text-lg font-bold"
71+
className="w-12 h-12 flex items-center justify-center rounded-full border border-gray-300 bg-gray-400 text-white text-lg font-bold shrink-0"
7272
variants={avatarReveal}
7373
>
7474
{initial}

0 commit comments

Comments
 (0)