Skip to content

Commit

Permalink
fix: remove break-all from code samples
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Jul 26, 2018
1 parent 9361ead commit d74578d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/components/JsonViewer/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions src/components/SourceCode/SourceCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
`;

Expand Down

0 comments on commit d74578d

Please sign in to comment.