Skip to content

Commit

Permalink
Replace text-align: start with left to fix Edge (#2215)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed May 18, 2017
1 parent 2ae1772 commit 07c75aa
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 07c75aa

Please sign in to comment.