Skip to content

Commit

Permalink
fix: improve scrolling performance in Chrome with non-wrapped json ex…
Browse files Browse the repository at this point in the history
…amples
  • Loading branch information
RomanHotsiy committed Nov 5, 2018
1 parent 9e2853c commit a69c402
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/JsonViewer/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a69c402

Please sign in to comment.