text: add soft mode for the wrap property

This commit is contained in:
bordun 2021-05-08 12:35:27 +02:00
parent 827ea47b6f
commit 6a2b69bad7
3 changed files with 7 additions and 3 deletions

View file

@ -85,6 +85,9 @@
white-space: pre-wrap;
word-break: break-all;
}
&.wrap-soft {
word-break: normal
}
&.vertical {
transform: rotate(180deg);
text-overflow: ellipsis;