From: Andrew Date: Wed, 31 Oct 2018 14:33:31 +0000 (+0200) Subject: Add `.text-wrap` class. X-Git-Tag: v4.2.0~150 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cbc859ad8d9c323037a04b188b6faae166a0ba51;p=thirdparty%2Fbootstrap.git Add `.text-wrap` class. this is the opposite of `.text-nowrap`, and a forces elements to wrap onto new lines. One use case for this is extra long button text. Bootstrap buttons by default do no wrap, so this class could be used to override that behavior. --- diff --git a/scss/utilities/_text.scss b/scss/utilities/_text.scss index 7b5d26d048..0edb8e58ba 100644 --- a/scss/utilities/_text.scss +++ b/scss/utilities/_text.scss @@ -9,6 +9,7 @@ // Alignment .text-justify { text-align: justify !important; } +.text-wrap { white-space: normal !important; } .text-nowrap { white-space: nowrap !important; } .text-truncate { @include text-truncate; }