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:
parent
e4b82a74c0
commit
f61e5a6735
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user