Skip to content

Commit

Permalink
Update .text-break for wider browser support
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Oct 4, 2020
1 parent 010084c commit 8898065
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scss/utilities/_text.scss
Expand Up @@ -63,8 +63,8 @@
.text-decoration-none { text-decoration: none !important; }

.text-break {
word-break: break-word !important; // IE & < Edge 18
overflow-wrap: break-word !important;
word-break: break-word !important; // Deprecated, but avoids issues with flex containers
word-wrap: break-word !important; // Used instead of `overflow-wrap` for IE & Edge Legacy
}

// Reset
Expand Down

0 comments on commit 8898065

Please sign in to comment.