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.

Widen the Sale Amount column of the partner earnings table

Rafi882c3e6c4a37
diff --git a/apps/web/ui/partners/earnings/earnings-table.tsx b/apps/web/ui/partners/earnings/earnings-table.tsx
index 84eeaf0683..16477415ac 100644
--- a/apps/web/ui/partners/earnings/earnings-table.tsx
+++ b/apps/web/ui/partners/earnings/earnings-table.tsx
@@ -248,6 +248,9 @@ export function EarningsTablePartner({ limit }: { limit?: number }) {
id: "amount",
header: "Sale Amount",
accessorKey: "amount",
+ // the header and the sort icon need more than the default 120px
+ size: 150,
+ minSize: 150,
cell: ({ row }) =>
row.original.amount
? currencyFormatter(row.original.amount)