Replace text-align: start with left to fix Edge (#2215)

This commit is contained in:
Dan Abramov
2017-05-18 19:04:43 +01:00
committed by GitHub
parent 2ae1772f11
commit 07c75aa5fd
2 changed files with 2 additions and 2 deletions

View File

@@ -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';

View File

@@ -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',