aboutsummaryrefslogtreecommitdiff
path: root/scss/utilities
diff options
context:
space:
mode:
authorAndrew <[email protected]>2018-10-31 16:33:31 +0200
committerXhmikosR <[email protected]>2018-11-04 15:55:17 +0200
commitcbc859ad8d9c323037a04b188b6faae166a0ba51 (patch)
tree415e9b92b077a01f426bb94926ff14655e36ce84 /scss/utilities
parent497766a3a6ec281b3e286ee6b02f81bc5c251895 (diff)
downloadbootstrap-cbc859ad8d9c323037a04b188b6faae166a0ba51.tar.xz
bootstrap-cbc859ad8d9c323037a04b188b6faae166a0ba51.zip
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.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/scss/utilities/_text.scss b/scss/utilities/_text.scss
index 7b5d26d04..0edb8e58b 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; }