Add new word-break utilities
This commit is contained in:
parent
db7f1e6728
commit
85957755dd
3 changed files with 115 additions and 32 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue