Contracts signed before July recognize monthly. Setup fees recognize when the workspace goes live, not at signing.
Truncate labels, not content
Cut labels that point elsewhere; never errors, totals or body text.
From refactoring-ui, “Text Wrapping & Truncation”.
A column you can resize
Drag the Vendor grip, then tap a cut cell.
Cut, no way backBad
| Vendor | Memo | Amount |
|---|
.truncate0/12Cut, revealed on hoverGood
| Vendor | Memo | Amount |
|---|
.truncate + tooltipAn error message
Press Pay, then lengthen the message.
One line, ellipsisBad
Press Pay
text-overflow: ellipsisWraps, in fullGood
Press Pay
overflow-wrap: anywhereCard titles as cards narrow
Drag a card’s right edge or the slider.
Everything on one lineBad
.truncateTitle clampedGood
Contracts signed before July recognize monthly. Setup fees recognize when the workspace goes live, not at signing.
.line-clamp-2Why it matters, pros and cons
Why it matters
An ellipsis trades completeness for alignment. Fair for a label, not for the thing people came to read.
Pros
- Rows and cards keep one height.
- Resizing a column never reflows the page.
- Full text stays in the DOM.
Cons
- Touch has no hover; give cut text a tap path.
- File names need middle truncation, not end.
- If the column can grow, show the text.