aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--site/docs/4.1/utilities/text.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/site/docs/4.1/utilities/text.md b/site/docs/4.1/utilities/text.md
index 25e72bc8f..007277532 100644
--- a/site/docs/4.1/utilities/text.md
+++ b/site/docs/4.1/utilities/text.md
@@ -31,6 +31,15 @@ For left, right, and center alignment, responsive classes are available that use
## Text wrapping and overflow
+Wrap text with a `.text-wrap` class.
+
+{% capture example %}
+<div class="text-wrap bd-highlight" style="width: 6rem;">
+ This text should wrap.
+</div>
+{% endcapture %}
+{% include example.html content=example %}
+
Prevent text from wrapping with a `.text-nowrap` class.
{% capture example %}