mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-25 10:03:45 +03:00
fix: fix overflowing content in JSON samples
This commit is contained in:
parent
87abdf79d8
commit
02c2413da8
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user