Skip to content

Commit

Permalink
Update .text-break for wider browser support
Browse files Browse the repository at this point in the history
Brings back the word-wrap property instead of overflow-wrap to avoid flex container issues. Properly backports the changes from v5 in #30932.

Closes #31727
  • Loading branch information
mdo committed Sep 30, 2020
1 parent 31ae0dc commit 0783f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scss/utilities/_text.scss
Expand Up @@ -64,7 +64,7 @@

.text-break {
word-break: break-word !important; // IE & < Edge 18

This comment has been minimized.

Copy link
@ihorzenich

ihorzenich Oct 3, 2020

This comment could confuse, because word-break: break-word never worked in IE.
It's here to avoid issues with flex containers, see: e501897

overflow-wrap: break-word !important;
word-wrap: break-word !important;
}

// Reset
Expand Down

0 comments on commit 0783f63

Please sign in to comment.