aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/docs/4.5/utilities/text.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/site/docs/4.5/utilities/text.md')
-rw-r--r--vendor/twbs/bootstrap/site/docs/4.5/utilities/text.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/twbs/bootstrap/site/docs/4.5/utilities/text.md b/vendor/twbs/bootstrap/site/docs/4.5/utilities/text.md
index a9be539a2..f9c73cff7 100644
--- a/vendor/twbs/bootstrap/site/docs/4.5/utilities/text.md
+++ b/vendor/twbs/bootstrap/site/docs/4.5/utilities/text.md
@@ -68,7 +68,7 @@ For longer content, you can add a `.text-truncate` class to truncate the text wi
## Word break
-Prevent long strings of text from breaking your components' layout by using `.text-break` to set `word-wrap: break-word`.
+Prevent long strings of text from breaking your components' layout by using `.text-break` to set `word-wrap: break-word` and `word-break: break-word`. We use `word-wrap` instead of the more common `overflow-wrap` for wider browser support, and add the deprecated `word-break: break-word` to avoid issues with flex containers.
{% capture example %}
<p class="text-break">mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm</p>