Skip to content

Commit 07c75aa

Browse files
authored
Replace text-align: start with left to fix Edge (#2215)
1 parent 2ae1772 commit 07c75aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-dev-utils/webpackHotDevClient.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function addOverlayDivTo(iframe) {
6767
div.style.overflowY = 'auto';
6868
div.style.padding = '0.5rem';
6969
div.style.boxSizing = 'border-box';
70-
div.style.textAlign = 'start';
70+
div.style.textAlign = 'left';
7171
div.style.fontFamily = 'Consolas, Menlo, monospace';
7272
div.style.fontSize = '11px';
7373
div.style.whiteSpace = 'pre-wrap';

packages/react-error-overlay/src/styles.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const containerStyle = {
3737
'overflow-y': 'auto',
3838
padding: '0.5rem',
3939
'box-sizing': 'border-box',
40-
'text-align': 'start',
40+
'text-align': 'left',
4141
'font-family': 'Consolas, Menlo, monospace',
4242
'font-size': '11px',
4343
'white-space': 'pre-wrap',

0 commit comments

Comments
 (0)