Skip to content

Commit

Permalink
Fix text wrapping in Firefox.
Browse files Browse the repository at this point in the history
This PR, maybe, fixes #6049. CC: @SuperGeniusZeb.

It is a one line code change, but this change is put into a highly unscoped and generic location, so I would appreciate both lots of testing and sanity checking that there are no adverse side-effects to doing this.

For reference, this is what we're using: https://developer.mozilla.org/en-US/docs/Web/CSS/overflow-wrap
We could also have used https://developer.mozilla.org/en-US/docs/Web/CSS/word-break
  • Loading branch information
Joen Asmussen committed Jun 22, 2018
1 parent 58c96ee commit d194326
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions edit-post/assets/stylesheets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ html.wp-toolbar {

body.gutenberg-editor-page {
background: $white;
overflow-wrap: break-word;

#wpcontent {
padding-left: 0;
Expand Down

0 comments on commit d194326

Please sign in to comment.