Skip to content

Commit

Permalink
MagnifyHint: fix for proper mobile hint on Android devices (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kassares authored Jun 5, 2020
1 parent e24a50b commit 66750a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/carousel/MagnifyHint.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const styles = theme => ({
'$zoomDisabled&': {
display: 'none',
},
'@media (hover:none)': {
'@media not all and (hover: none)': {
display: 'none',
},
},
Expand All @@ -81,7 +81,7 @@ const styles = theme => ({
'$over:not($expandDisabled) &, $zoomDisabled &': {
display: 'none',
},
'@media (hover:none)': {
'@media not all and (hover: none)': {
display: 'none',
},
},
Expand All @@ -90,7 +90,7 @@ const styles = theme => ({
*/
expandTextMobile: {
display: 'none',
'@media (hover:none)': {
'@media not all and (hover: none)': {
display: 'block',
},
},
Expand All @@ -102,7 +102,7 @@ const styles = theme => ({

'$over:not($expandDisabled) &, $zoomDisabled &': {
display: 'block',
'@media (hover:none)': {
'@media not all and (hover: none)': {
display: 'none',
},
},
Expand Down

0 comments on commit 66750a7

Please sign in to comment.