diff --git a/src/components/JsonViewer/style.ts b/src/components/JsonViewer/style.ts index e2b2adceb0..14ef649255 100644 --- a/src/components/JsonViewer/style.ts +++ b/src/components/JsonViewer/style.ts @@ -9,6 +9,7 @@ export const jsonStyles = css` font-size: ${props => props.theme.typography.code.fontSize}; white-space: ${({ theme }) => (theme.typography.code.wrap ? 'pre-wrap' : 'pre')}; + contain: content; overflow-x: auto; .callback-function {