mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-29 03:53:43 +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;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
font-family: Consolas, ${props => props.theme.code.fontFamily};
|
font-family: ${props => props.theme.code.fontFamily};
|
||||||
font-size: ${props => props.theme.code.fontSize};
|
font-size: ${props => props.theme.code.fontSize};
|
||||||
|
|
||||||
|
word-break: break-all;
|
||||||
|
word-wrap: break-word;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
|
||||||
.type-null {
|
.type-null {
|
||||||
color: gray;
|
color: gray;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user