Skip to content

Commit

Permalink
Replace text-align: start with left to fix Edge (facebook#2215)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored and romaindso committed Jul 10, 2017
1 parent 218a723 commit 08332ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-dev-utils/webpackHotDevClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function addOverlayDivTo(iframe) {
div.style.overflowY = 'auto';
div.style.padding = '0.5rem';
div.style.boxSizing = 'border-box';
div.style.textAlign = 'start';
div.style.textAlign = 'left';
div.style.fontFamily = 'Consolas, Menlo, monospace';
div.style.fontSize = '11px';
div.style.whiteSpace = 'pre-wrap';
Expand Down
2 changes: 1 addition & 1 deletion packages/react-error-overlay/src/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const containerStyle = {
'overflow-y': 'auto',
padding: '0.5rem',
'box-sizing': 'border-box',
'text-align': 'start',
'text-align': 'left',
'font-family': 'Consolas, Menlo, monospace',
'font-size': '11px',
'white-space': 'pre-wrap',
Expand Down

0 comments on commit 08332ce

Please sign in to comment.