Skip to content

Commit 91d0a65

Browse files
mdoXhmikosR
authored andcommitted
Update .text-break for wider browser support
1 parent c437735 commit 91d0a65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scss/utilities/_text.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
.text-decoration-none { text-decoration: none !important; }
6464

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

7070
// Reset

0 commit comments

Comments
 (0)