fix: fix overflowing content in JSON samples

This commit is contained in:
Roman Hotsiy 2018-03-05 13:10:17 +02:00
parent 87abdf79d8
commit 02c2413da8
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -5,9 +5,13 @@ export const jsonStyles = css`
display: none; display: none;
} }
font-family: Consolas, ${props => props.theme.code.fontFamily}; font-family: ${props => props.theme.code.fontFamily};
font-size: ${props => props.theme.code.fontSize}; font-size: ${props => props.theme.code.fontSize};
word-break: break-all;
word-wrap: break-word;
white-space: pre-wrap;
.type-null { .type-null {
color: gray; color: gray;
} }