Skip to content

Commit

Permalink
Remove hover styling from disabled items
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwooding committed Jul 27, 2020
1 parent 40e7ed2 commit ebca368
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/material-ui-lab/src/TreeItem/TreeItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ export const styles = (theme) => ({
},
'&$disabled': {
opacity: theme.palette.action.disabledOpacity,
'&:hover': {
backgroundColor: 'transparent',
},
},
},
/* Pseudo-class applied to the content element when expanded. */
Expand Down

0 comments on commit ebca368

Please sign in to comment.