Skip to content
Cora HQ

Text Truncation

The text-truncate helper shortens long text to a single line and ends it with an ellipsis. It needs a block or inline-block element with a width limit; in flex layouts give the flexible item min-width: 0.

1Block level truncation

A block element with a max width; the dashed outline shows the limit.

Send and receive money in more than 30 currencies at fair exchange rates. We measure success by how many members come back and tell their friends.

2Inline-block inside a sentence

Inline elements need d-inline-block plus a max width to truncate.

Last edited by Jonah Hughes and Elena Harlow 5 days ago.

3Inbox preview

Subject and preview text cut to one line in an email list.

  • Chloe HaddadThe small habits that make a big difference – Clear prices, honest advice and no surprises along the way. No monthly fees on the basic plan and no hidden charges on transfers.
  • Aria LarsenHow we keep your money safe – Every detail is handled by people who care about getting it right. Set approval rules for large payments and see who spent what, and why.
  • Tariq CarterWhat our members asked us most – We listen first, then build a plan around what you actually need. Friendly people answer your questions quickly, by phone, chat or email.

4Table cell notes

A long note column truncated with text-truncate and a max width on the cell.

OrderNoteTotal
#INV-9774Invoices go out with a payment link, so customers can pay you in one click.$21.01
#INV-7527Accounting sync keeps your books up to date without manual exports.$71.91
#TX-7661Open a business account online in about ten minutes, with no branch visit.$348.70

5Long file names

File names shorten while the size stays visible at the end.

  • our-favourite-tips-for-busy-weeks-final-version-4.docx561 KB
  • five-things-we-learned-this-year-final-version-3.docx219 KB
  • how-a-coffee-roaster-cut-card-fees-by-a-third-final-version-2.docx825 KB

6Breadcrumb with a long last item

The current page title truncates so the breadcrumb stays on one line.

7Notification preview

A toast-like card where the message preview stays on one line.

Noah Delgado replied: Thousands of members already trust us, and we work hard to keep it that way.just now

8Equal card titles

Truncated titles keep a grid of cards the same height.

How to close your books faster every month: Your money is protected by bank-grade security and regulated partners.

Nov 1, 2025

How we keep your money safe: Cash flow forecasts show where you will be next month, not just today.

Sep 26, 2025

What our members asked us most: Our team has done this many times, so you never have to guess.

Oct 3, 2026

9Chat list

In a flex row the text column needs min-width: 0 so text-truncate can shrink it.

10Long web addresses

Page addresses truncate in a link list; the full address is kept in the title attribute.

11Product grid names

Product names cut to one line under each image in a compact grid.

Metal card Cards edition
$8.00
Expense add-on Cards edition
$6.00
Invoice pack Invoices edition
$9.00
FX transfer Payments edition
$2.00

12Truncated chips

Badges with a max width so long labels never break the row.

Running payroll for your first five hiresFive ways to improve your cash flowBudgeting basics for small teamsPaying international suppliers without high fees

13User menu name

A long account name truncates inside the navbar button.

14Why min-width: 0 matters

Left: a flex child without min-width overflows. Right: with min-width: 0 the text truncates.

Without min-width

We keep things simple, so you can focus on what matters to you. Friendly people answer your questions quickly, by phone, chat or email.
New

With min-width: 0

Thousands of members already trust us, and we work hard to keep it that way. Start in minutes and get help from a real person whenever you need it.
New

15Sidebar menu

Project names in a narrow sidebar stay on one line each.

16Kanban card titles

Narrow board columns keep task titles tidy with truncation.

To do
A simple guide to business spending policies
A beginner's guide to getting started
Doing
The small habits that make a big difference
Five things we learned this year
Done
Looking back at a busy season
What to look for in a business account

17Order summary address

A long shipping address truncated in a summary line, with an edit link.

Finn Rossi, 224 Hillcrest Road, Prague 60061, Czechia Change

18Dropdown with a long value

The selected option truncates inside a fixed width dropdown button.

19Playlist

Long episode or track titles truncate while the duration stays aligned.

  1. Get paid faster, pay out with ease2:46
  2. Smarter payments for growing companies2:34
  3. Corporate cards with built-in controls4:36

20Full text in a tooltip

Offer the complete text in a tooltip so nothing is lost when it is truncated.

We listen first, then build a plan around what you actually need. Real people answer your questions around the clock, every day of the year.