]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add `text-wrap` example.
authorXhmikosR <xhmikosr@gmail.com>
Sun, 4 Nov 2018 11:33:57 +0000 (13:33 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Sun, 4 Nov 2018 13:55:17 +0000 (15:55 +0200)
site/docs/4.1/utilities/text.md

index 25e72bc8f54a12a8a3d6a7e6defb7fe75b203fe4..00727753245a33118b0a15143438a695dcb174a3 100644 (file)
@@ -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 %}