Skip to content

Commit

Permalink
improve consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Sep 7, 2020
1 parent 3f01d93 commit 915ba6a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/src/pages/premium-themes/paperbase/Navigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const styles = (theme) => ({
paddingTop: 1,
paddingBottom: 1,
color: 'rgba(255, 255, 255, 0.7)',
'&:hover,&:focus': {
'&:hover, &:focus': {
backgroundColor: 'rgba(255, 255, 255, 0.08)',
},
},
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/premium-themes/paperbase/Navigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const styles = (theme: Theme) =>
paddingTop: 1,
paddingBottom: 1,
color: 'rgba(255, 255, 255, 0.7)',
'&:hover,&:focus': {
'&:hover, &:focus': {
backgroundColor: 'rgba(255, 255, 255, 0.08)',
},
},
Expand Down
4 changes: 2 additions & 2 deletions packages/material-ui/src/Chip/Chip.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ export const styles = (theme) => {
},
/* Styles applied to the root element if `onClick` and `color="primary"` is defined or `clickable={true}`. */
clickableColorPrimary: {
'&$focusVisible, &:hover': {
'&:hover, &$focusVisible': {
backgroundColor: emphasize(theme.palette.primary.main, 0.08),
},
},
/* Styles applied to the root element if `onClick` and `color="secondary"` is defined or `clickable={true}`. */
clickableColorSecondary: {
'&$focusVisible, &:hover': {
'&:hover, &$focusVisible': {
backgroundColor: emphasize(theme.palette.secondary.main, 0.08),
},
},
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/Slider/Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export const styles = (theme) => ({
right: -15,
bottom: -15,
},
'&$focusVisible,&:hover': {
'&:hover, &$focusVisible': {
boxShadow: `0px 0px 0px 8px ${fade(theme.palette.primary.main, 0.16)}`,
'@media (hover: none)': {
boxShadow: 'none',
Expand Down

0 comments on commit 915ba6a

Please sign in to comment.