diff --git a/site/docs/4.1/utilities/text.md b/site/docs/4.1/utilities/text.md index 0b493d5623..04f564c335 100644 --- a/site/docs/4.1/utilities/text.md +++ b/site/docs/4.1/utilities/text.md @@ -66,6 +66,15 @@ For longer content, you can add a `.text-truncate` class to truncate the text wi {% endcapture %} {% include example.html content=example %} +## Word break + +Prevent long strings of text from breaking your components' layout by using `.text-break` to set `word-break: break-word`. + +{% capture example %} +

mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm

+{% endcapture %} +{% include example.html content=example %} + ## Text transform Transform text in components with text capitalization classes.