1
1
mirror of https://github.com/primer/css.git synced 2024-12-01 04:21:12 +03:00

Update docs/content/components/truncate.md

Co-Authored-By: Shawn Allen <shawn.allen@github.com>
This commit is contained in:
simurai 2019-11-08 09:50:56 +09:00 committed by GitHub
parent e4b82a74c0
commit f61e5a6735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ bundle: truncate
---
`.css-truncate` will shorten text with an ellipsis. Unless the full text is so long that it affects performace, always add `title` to the truncated element so the full text can still be seen.
The `css-truncate` class will shorten text with an ellipsis. Unless the full text is so long that it affects performance, always add a `title` attribute to the truncated element so the full text remains accessible.
## Truncate overflow