fix: remove break-all from code samples

This commit is contained in:
Roman Hotsiy 2018-07-26 17:51:44 +03:00
parent 9361ead8c4
commit d74578dc9b
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
2 changed files with 1 additions and 4 deletions

View File

@ -8,9 +8,8 @@ export const jsonStyles = css`
font-family: ${props => props.theme.typography.code.fontFamily};
font-size: ${props => props.theme.typography.code.fontSize};
word-break: break-all;
word-wrap: break-word;
white-space: pre-wrap;
overflow-x: auto;
.callback-function {
color: gray;

View File

@ -11,8 +11,6 @@ const StyledPre = PrismDiv.withComponent('pre').extend`
overflow-x: auto;
margin: 0;
word-break: break-all;
word-wrap: break-word;
white-space: pre-wrap;
`;