Skip to content

Commit

Permalink
[docs] Fix Gmail demo
Browse files Browse the repository at this point in the history
  • Loading branch information
m4theushw committed Mar 23, 2020
1 parent 2f47739 commit fe8d3c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions docs/src/pages/components/tree-view/GmailTreeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ const useTreeItemStyles = makeStyles((theme) => ({
backgroundColor: `var(--tree-view-bg-color, ${theme.palette.grey[400]})`,
color: 'var(--tree-view-color)',
},
'&:focus > $content $label, &:hover > $content $label, &$selected > $content $label': {
backgroundColor: 'transparent',
},
},
content: {
color: theme.palette.text.secondary,
Expand All @@ -49,6 +46,7 @@ const useTreeItemStyles = makeStyles((theme) => ({
label: {
fontWeight: 'inherit',
color: 'inherit',
backgroundColor: 'transparent !important',
},
labelRoot: {
display: 'flex',
Expand Down
4 changes: 1 addition & 3 deletions docs/src/pages/components/tree-view/GmailTreeView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ const useTreeItemStyles = makeStyles((theme: Theme) =>
backgroundColor: `var(--tree-view-bg-color, ${theme.palette.grey[400]})`,
color: 'var(--tree-view-color)',
},
'&:focus > $content $label, &:hover > $content $label, &$selected > $content $label': {
backgroundColor: 'transparent',
},
},
content: {
color: theme.palette.text.secondary,
Expand All @@ -65,6 +62,7 @@ const useTreeItemStyles = makeStyles((theme: Theme) =>
label: {
fontWeight: 'inherit',
color: 'inherit',
backgroundColor: 'transparent !important',
},
labelRoot: {
display: 'flex',
Expand Down

0 comments on commit fe8d3c0

Please sign in to comment.