Skip to content
English
Looks cramped08 / 71

Shorten names in the middle

What it's calledMiddle truncationmiddle ellipsisGlossary

What goes wrong

File names cut at the end all read the same, because what tells them apart (the version, the date, the extension) is in the part that was cut.

The fix

Keep the start and the end of the name and drop the middle, so each file still tells itself apart.

Tell your AI

Truncate long file names in the middle: split each name into a head that shrinks with overflow: hidden; text-overflow: ellipsis and a tail of its last 12 characters (version and extension) that never shrinks, set both at var(--ds-font-size-md) (14px), and show the full name in a tooltip.

  • --ds-font-size-md14px
Why AI-generated UIs all look the same: 12 rules that fix it

Shared with you

Quarterly review · 4 files

  • Quarterly-review-2025-Q3-marketing-team-draft.docx1.2 MB · Mon
  • Quarterly-review-2025-Q3-marketing-team-final.pdf2.4 MB · Tue
  • Quarterly-review-2025-Q3-marketing-team-final-v2.pdf2.5 MB · Today
  • Quarterly-review-2025-Q3-marketing-team-notes.md18 KB · Today

Four rows, one name