mirror of https://github.com/twbs/bootstrap.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.
This commit is contained in:
parent
497766a3a6
commit
cbc859ad8d
|
@ -9,6 +9,7 @@
|
||||||
// Alignment
|
// Alignment
|
||||||
|
|
||||||
.text-justify { text-align: justify !important; }
|
.text-justify { text-align: justify !important; }
|
||||||
|
.text-wrap { white-space: normal !important; }
|
||||||
.text-nowrap { white-space: nowrap !important; }
|
.text-nowrap { white-space: nowrap !important; }
|
||||||
.text-truncate { @include text-truncate; }
|
.text-truncate { @include text-truncate; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue