File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
packages/clients-list/src/components/json-view Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ interface Props {
9
9
}
10
10
11
11
const JSONViewer = ( props : Props ) => {
12
- const { value, expanded = false , space = 4 } = props
12
+ const { value, expanded = false , space = 2 } = props
13
13
14
14
try {
15
15
JSON . parse ( value )
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const JSONView = (props: Props) => {
31
31
) }
32
32
{ ! formattedValue && (
33
33
< div className = "jsonViewer" data-testid = "json-view" >
34
- < JSONPretty json = { value } space = { 4 } />
34
+ < JSONPretty json = { value } space = { 2 } />
35
35
</ div >
36
36
) }
37
37
</ >
Original file line number Diff line number Diff line change 2
2
.__json {
3
3
& -pretty__ ,
4
4
& -pretty-error__ {
5
- font : normal normal normal 13px / 18px Graphik, sans-serif ;
6
- letter-spacing : -0.13 px ;
5
+ font : normal normal normal 13px / 18px Inconsolata, monospace ;
6
+ letter-spacing : 0.15 px ;
7
7
padding : 0 ;
8
8
background : transparent ;
9
9
color : var (--euiTextSubduedColor );
You can’t perform that action at this time.
0 commit comments