fix: client name wraps to 2 lines in desktop table, prevents column stretch
This commit is contained in:
parent
b721b26ce8
commit
05b81cf128
|
|
@ -198,7 +198,7 @@ export const OrdersTable = ({
|
|||
onClick={() => onOpenOrder(group.id)}
|
||||
>
|
||||
<div className="px-5 py-4">
|
||||
<div className="font-medium">{group.displayTitle || group.customerName || group.groupKey}</div>
|
||||
<div className="font-medium leading-tight break-words line-clamp-2" style={{display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden"}}>{group.displayTitle || group.customerName || group.groupKey}</div>
|
||||
<div className="mt-1 text-sm text-[var(--color-text-muted)]">
|
||||
{group.customerPhone || ""}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue