content@Ibelick
Handle Text Overflow Properly
SHOULD
SHOULD: Use truncate or line-clamp-* for dense UI to prevent layout breaking. Add title attribute for full text on hover. Long text should never break layout.
Use truncate or line-clamp for predictable text overflow in dense layouts
Bad
Good
Why it matters
From the Typography constraints in ibelick's baseline-ui skill — a SHOULD, not a MUST. User-generated content can be any length; without overflow handling, cards expand unexpectedly and grids break. Use truncate for single lines, line-clamp for a multi-line cap.