diff options
author | Andrew <browner12@gmail.com> | 2018-10-31 17:33:31 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-11-04 16:55:17 +0300 |
commit | cbc859ad8d9c323037a04b188b6faae166a0ba51 (patch) | |
tree | 415e9b92b077a01f426bb94926ff14655e36ce84 /scss/utilities | |
parent | 497766a3a6ec281b3e286ee6b02f81bc5c251895 (diff) |
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.
Diffstat (limited to 'scss/utilities')
-rw-r--r-- | scss/utilities/_text.scss | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |