mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-29 18:05:47 +08:00
Replace text-align: start with left to fix Edge (#2215)
This commit is contained in:
@@ -67,7 +67,7 @@ function addOverlayDivTo(iframe) {
|
|||||||
div.style.overflowY = 'auto';
|
div.style.overflowY = 'auto';
|
||||||
div.style.padding = '0.5rem';
|
div.style.padding = '0.5rem';
|
||||||
div.style.boxSizing = 'border-box';
|
div.style.boxSizing = 'border-box';
|
||||||
div.style.textAlign = 'start';
|
div.style.textAlign = 'left';
|
||||||
div.style.fontFamily = 'Consolas, Menlo, monospace';
|
div.style.fontFamily = 'Consolas, Menlo, monospace';
|
||||||
div.style.fontSize = '11px';
|
div.style.fontSize = '11px';
|
||||||
div.style.whiteSpace = 'pre-wrap';
|
div.style.whiteSpace = 'pre-wrap';
|
||||||
|
|||||||
2
packages/react-error-overlay/src/styles.js
vendored
2
packages/react-error-overlay/src/styles.js
vendored
@@ -37,7 +37,7 @@ const containerStyle = {
|
|||||||
'overflow-y': 'auto',
|
'overflow-y': 'auto',
|
||||||
padding: '0.5rem',
|
padding: '0.5rem',
|
||||||
'box-sizing': 'border-box',
|
'box-sizing': 'border-box',
|
||||||
'text-align': 'start',
|
'text-align': 'left',
|
||||||
'font-family': 'Consolas, Menlo, monospace',
|
'font-family': 'Consolas, Menlo, monospace',
|
||||||
'font-size': '11px',
|
'font-size': '11px',
|
||||||
'white-space': 'pre-wrap',
|
'white-space': 'pre-wrap',
|
||||||
|
|||||||
Reference in New Issue
Block a user