Skip to content

Commit

Permalink
- #167 RSF8 Magnify Hint Bug fix for mobile/desktop proper hint displ… (
Browse files Browse the repository at this point in the history
#168)

* - #167 RSF8 Magnify Hint Bug fix for mobile/desktop proper hint displaying

* - update css rules for fix hover to zoom behaviour
  • Loading branch information
freewayspb committed Feb 2, 2021
1 parent f29bcb3 commit 8c7cde2
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 not all and (hover: none)': {
'@media (hover: none) and (pointer: coarse)': {
display: 'none',
},
},
Expand All @@ -81,7 +81,7 @@ const styles = theme => ({
'$over:not($expandDisabled) &, $zoomDisabled &': {
display: 'none',
},
'@media not all and (hover: none)': {
'@media (hover: none) and (pointer: coarse)': {
display: 'none',
},
},
Expand All @@ -90,7 +90,7 @@ const styles = theme => ({
*/
expandTextMobile: {
display: 'none',
'@media not all and (hover: none)': {
'@media (hover: none) and (pointer: coarse)': {
display: 'block',
},
},
Expand All @@ -102,7 +102,7 @@ const styles = theme => ({

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

0 comments on commit 8c7cde2

Please sign in to comment.