From 6f073edc791c63ad0f93ba9845de35e0f7e2f2ff Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 1 Jul 2017 20:27:15 -0700 Subject: Add .text-truncate class. We already had a mixin and documented the class, so this fixes that. --- docs/4.0/utilities/text.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/4.0/utilities/text.md b/docs/4.0/utilities/text.md index 32e11335d..8dcbba078 100644 --- a/docs/4.0/utilities/text.md +++ b/docs/4.0/utilities/text.md @@ -42,14 +42,20 @@ Prevent text from wrapping with a `.text-nowrap` class. {% endexample %} -For longer content, you can add a `.text-truncate` class to truncate the text with an ellipsis. +For longer content, you can add a `.text-truncate` class to truncate the text with an ellipsis. **Requires `display: inline-block` or `display: block`.** {% example html %} +
Praeterea iter est quasdam res quas ex communi.
+ + + + Praeterea iter est quasdam res quas ex communi. + {% endexample %} ## Text transform -- cgit v1.2.3