Fix scrollbars for windows

This commit is contained in:
Thomas Nordquist
2019-01-13 01:48:43 +01:00
parent e83fe78755
commit ab87b13eed
2 changed files with 17 additions and 2 deletions

View File

@@ -51,11 +51,13 @@ class ValueRenderer extends React.Component<Props, {}> {
backgroundColor: 'rgba(80, 80, 80, 0.6)',
wordBreak: 'break-all',
width: '100%',
overflow: 'scroll',
overflowX: 'scroll',
overflowY: 'clip',
display: 'block',
lineHeight: '1.2em',
padding: '12px 5px 12px 5px',
color: this.props.theme.palette.text.primary
maxWidth: '40vw',
color: this.props.theme.palette.text.primary,
}
return <pre style={style}><code>{value}</code></pre>