fix: clamp team member bio to 3 lines in carousel to prevent layout shift

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-20 13:49:04 +03:00
parent 96e3333e9f
commit 1acda847b7

View File

@@ -32,7 +32,7 @@ export function TeamMemberInfo({ members, activeIndex, onSelect, onOpenBio }: Te
)} )}
{member.description && ( {member.description && (
<p className="mt-3 text-sm leading-relaxed text-white/55"> <p className="mt-3 text-sm leading-relaxed text-white/55 line-clamp-3">
{member.description} {member.description}
</p> </p>
)} )}