Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

💄 Constrain testimonial attribution width so long titles wrap (#3086)

Luke Vella9b53ae184597
diff --git a/apps/landing/src/components/home/testimonial.tsx b/apps/landing/src/components/home/testimonial.tsx
index a15820419..f931a30b1 100644
--- a/apps/landing/src/components/home/testimonial.tsx
+++ b/apps/landing/src/components/home/testimonial.tsx
@@ -20,11 +20,11 @@ export function Testimonial({
className="flex flex-col gap-8 sm:flex-row sm:items-start sm:justify-between sm:gap-16"
>
<p className="max-w-2xl text-lg leading-normal sm:text-2xl">{children}</p>
- <div className="flex shrink-0 flex-col gap-y-4 sm:items-end sm:text-right">
+ <div className="flex shrink-0 flex-col gap-y-4 sm:w-64 sm:items-end sm:text-right">
{logo}
<div>
<div className="font-semibold">{name}</div>
- <div className="text-gray-600 text-sm">{title}</div>
+ <div className="text-balance text-gray-600 text-sm">{title}</div>
</div>
{avatar}
</div>