From: Martijn Cuppens Date: Thu, 23 Jan 2020 16:18:07 +0000 (+0100) Subject: Backport #29325. (#30074) X-Git-Tag: v4.5.0~129 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1884b8a421404b362e7a4278f6ace7819eaaeb27;p=thirdparty%2Fbootstrap.git Backport #29325. (#30074) `.text-break` fix --- diff --git a/scss/utilities/_text.scss b/scss/utilities/_text.scss index 5d0f1c845f..d2b2a22ed8 100644 --- a/scss/utilities/_text.scss +++ b/scss/utilities/_text.scss @@ -63,8 +63,7 @@ .text-decoration-none { text-decoration: none !important; } .text-break { - word-break: break-word !important; // IE & < Edge 18 - overflow-wrap: break-word !important; + word-wrap: break-word !important; } // Reset diff --git a/site/docs/4.4/utilities/text.md b/site/docs/4.4/utilities/text.md index d25564a186..a9be539a21 100644 --- a/site/docs/4.4/utilities/text.md +++ b/site/docs/4.4/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 `overflow-wrap: break-word` (and `word-break: break-word` for IE & Edge compatibility). +Prevent long strings of text from breaking your components' layout by using `.text-break` to set `word-wrap: break-word`. {% capture example %}

mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm