Skip to content

Commit

Permalink
fix: make sure the word wrap isn't overridden. closes #26
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Mar 23, 2019
1 parent c7c73cb commit 360e415
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -584,9 +584,6 @@ const styles = {
container: {
position: 'relative',
textAlign: 'left',
whiteSpace: 'pre-wrap',
wordBreak: 'keep-all',
overflowWrap: 'break-word',
boxSizing: 'border-box',
padding: 0,
overflow: 'hidden',
Expand Down Expand Up @@ -625,8 +622,8 @@ const styles = {
textIndent: 'inherit',
textRendering: 'inherit',
textTransform: 'inherit',
whiteSpace: 'inherit',
wordBreak: 'inherit',
overflowWrap: 'inherit',
whiteSpace: 'pre-wrap',
wordBreak: 'keep-all',
overflowWrap: 'break-word',
},
};

0 comments on commit 360e415

Please sign in to comment.