diff --git a/src/components/JsonViewer/style.ts b/src/components/JsonViewer/style.ts index 3d759ca5..3a4c7147 100644 --- a/src/components/JsonViewer/style.ts +++ b/src/components/JsonViewer/style.ts @@ -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; }