Skip to content

Commit cadc7bb

Browse files
author
Alberto Fernández-Capel
authored
Merge pull request #1126 from basecamp/default-word-break
Add default word-break to trix-content
2 parents 98f7d67 + 4304192 commit cadc7bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

assets/trix/stylesheets/content.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ $quote-padding-start: 0.6em;
44

55
.trix-content {
66
line-height: 1.5;
7+
overflow-wrap: break-word;
8+
word-break: break-word;
79

810
* {
911
box-sizing: border-box;

0 commit comments

Comments
 (0)