mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +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.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';
|
||||
|
||||
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',
|
||||
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',
|
||||
|
||||
Reference in New Issue
Block a user