Add new word-break utilities

This commit is contained in:
Nestor Vera 2019-02-22 17:51:21 +01:00
parent db7f1e6728
commit 85957755dd
3 changed files with 115 additions and 32 deletions

View file

@ -8,8 +8,11 @@ export default function({ variants }) {
'.whitespace-pre-line': { 'white-space': 'pre-line' },
'.whitespace-pre-wrap': { 'white-space': 'pre-wrap' },
'.break-words': { 'word-wrap': 'break-word' },
'.break-normal': { 'word-wrap': 'normal' },
'.wrap-break': { 'overflow-wrap': 'break-word' },
'.wrap-normal': { 'overflow-wrap': 'normal' },
'.break-normal': { 'word-break': 'normal' },
'.break-all': { 'word-break': 'break-all' },
'.truncate': {
overflow: 'hidden',