Skip to content

Commit

Permalink
Update the remaining mobile media queries (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevhender authored Jun 5, 2020
1 parent 66750a7 commit fd5af2c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-storefront",
"version": "8.7.0",
"version": "8.7.1",
"description": "Build and deploy e-commerce progressive web apps (PWAs) in record time.",
"module": "./index.js",
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions src/CmsSlot.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ CmsSlot.proptypes = {
/**
* If `true`, will use `display: inline` style.
*/
inline: PropTypes.boolean,
inline: PropTypes.bool,

/**
* If `true` to lazy load images that have been preprocessed with `$.lazyLoadImages()`.
*/
lazyLoadImages: PropTypes.boolean,
lazyLoadImages: PropTypes.bool,

/**
* If `true`, prefetch links that have a `data-rsf-prefetch` attribute.
Expand Down
2 changes: 1 addition & 1 deletion src/carousel/Carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const styles = theme => ({
},
},

'@media (hover:none)': {
'@media not all and (hover:none)': {
hideTouchArrows: {
display: 'none',
},
Expand Down
2 changes: 1 addition & 1 deletion src/option/SwatchProductOption.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const styles = theme => ({
/**
* Styles applied for mobile devices.
*/
'@media (hover: none)': {
'@media not all and (hover: none)': {
SwatchButton: {
'&:hover': {
backgroundColor: 'transparent',
Expand Down

0 comments on commit fd5af2c

Please sign in to comment.