Skip to content

Commit 66750a7

Browse files
authored
MagnifyHint: fix for proper mobile hint on Android devices (#98)
1 parent e24a50b commit 66750a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/carousel/MagnifyHint.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const styles = theme => ({
6565
'$zoomDisabled&': {
6666
display: 'none',
6767
},
68-
'@media (hover:none)': {
68+
'@media not all and (hover: none)': {
6969
display: 'none',
7070
},
7171
},
@@ -81,7 +81,7 @@ const styles = theme => ({
8181
'$over:not($expandDisabled) &, $zoomDisabled &': {
8282
display: 'none',
8383
},
84-
'@media (hover:none)': {
84+
'@media not all and (hover: none)': {
8585
display: 'none',
8686
},
8787
},
@@ -90,7 +90,7 @@ const styles = theme => ({
9090
*/
9191
expandTextMobile: {
9292
display: 'none',
93-
'@media (hover:none)': {
93+
'@media not all and (hover: none)': {
9494
display: 'block',
9595
},
9696
},
@@ -102,7 +102,7 @@ const styles = theme => ({
102102

103103
'$over:not($expandDisabled) &, $zoomDisabled &': {
104104
display: 'block',
105-
'@media (hover:none)': {
105+
'@media not all and (hover: none)': {
106106
display: 'none',
107107
},
108108
},

0 commit comments

Comments
 (0)