File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
packages/node_modules/overmind-devtools/src/components/Inspector Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,12 @@ const Nested: SFC<NestedProps> = ({
3838 { path . length ? (
3939 < span className = { styles . key } > { path [ path . length - 1 ] } :</ span >
4040 ) : null }
41- { startBracket } { isArray ? keys . length : keys . slice ( 0 , 3 ) . join ( ', ' ) } { ' ' }
41+ { startBracket }
42+ < span className = { styles . keyCount } >
43+ { isArray
44+ ? keys . length + ' items'
45+ : keys . slice ( 0 , 3 ) . join ( ', ' ) + '...' }
46+ </ span >
4247 { endBracket }
4348 </ div >
4449 )
Original file line number Diff line number Diff line change @@ -36,3 +36,8 @@ export const genericValue = css`
3636export const nestedChildren = css `
3737 padding-left : 1rem ;
3838`
39+
40+ export const keyCount = css `
41+ font-size : var (--font-size-2 );
42+ color : var (--color-white-4 );
43+ `
You can’t perform that action at this time.
0 commit comments