Skip to content

Commit

Permalink
fix: fix overflowing content in JSON samples
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Mar 5, 2018
1 parent 87abdf7 commit 02c2413
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/JsonViewer/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ export const jsonStyles = css`
display: none;
}
font-family: Consolas, ${props => props.theme.code.fontFamily};
font-family: ${props => props.theme.code.fontFamily};
font-size: ${props => props.theme.code.fontSize};
word-break: break-all;
word-wrap: break-word;
white-space: pre-wrap;
.type-null {
color: gray;
}
Expand Down

0 comments on commit 02c2413

Please sign in to comment.