Skip to content

Commit

Permalink
[docs] Fix default theme inspector
Browse files Browse the repository at this point in the history
  • Loading branch information
m4theushw committed Mar 23, 2020
1 parent fe8d3c0 commit 903b8c5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/src/pages/customization/default-theme/DefaultTheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ const useObjectEntryStyles = makeStyles({
backgroundColor: lighten('#333', 0.08),
},
},
treeItemLabel: {
backgroundColor: 'transparent !important',
},
});

function ObjectEntry(props) {
Expand Down Expand Up @@ -155,7 +158,11 @@ function ObjectEntry(props) {

return (
<TreeItem
classes={{ root: classes.treeItem, content: classes.treeItemContent }}
classes={{
root: classes.treeItem,
content: classes.treeItemContent,
label: classes.treeItemLabel,
}}
nodeId={nodeId}
label={<ObjectEntryLabel objectKey={objectKey} objectValue={objectValue} />}
>
Expand Down

0 comments on commit 903b8c5

Please sign in to comment.