Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Fix text truncation on customer row

Kiran K934cadb90134
diff --git a/apps/web/ui/analytics/events/customer-row-item.tsx b/apps/web/ui/analytics/events/customer-row-item.tsx
index 1ea3508e42..7611e06ad2 100644
--- a/apps/web/ui/analytics/events/customer-row-item.tsx
+++ b/apps/web/ui/analytics/events/customer-row-item.tsx
@@ -19,9 +19,9 @@ export function CustomerRowItem({ customer }: { customer: Customer }) {
}) as string
}
scroll={false}
- className="flex w-full items-center justify-between px-4 py-2.5 transition-colors hover:bg-stone-100"
+ className="flex w-full items-center justify-between gap-2 px-4 py-2.5 transition-colors hover:bg-stone-100"
>
- <div className="flex items-center gap-3" title={display}>
+ <div className="flex items-center gap-3 truncate" title={display}>
<img
alt={display}
src={customer.avatar || ""}
@@ -29,7 +29,7 @@ export function CustomerRowItem({ customer }: { customer: Customer }) {
/>
<span className="truncate">{display}</span>
</div>
- <ChartActivity2 className="size-3.5" />
+ <ChartActivity2 className="size-3.5 shrink-0" />
</Link>
</>
);