From: Mark Otto Date: Mon, 17 Dec 2018 17:58:18 +0000 (-0800) Subject: Add docs for .text-break X-Git-Tag: v4.3.0~147^2~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F27863%2Fhead;p=thirdparty%2Fbootstrap.git Add docs for .text-break --- 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.