From cbc859ad8d9c323037a04b188b6faae166a0ba51 Mon Sep 17 00:00:00 2001
From: Andrew <browner12@gmail.com>
Date: Wed, 31 Oct 2018 16:33:31 +0200
Subject: [PATCH] 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.
---
 scss/utilities/_text.scss | 1 +
 1 file changed, 1 insertion(+)

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; }
 
-- 
GitLab