Skip to content

Commit fd5af2c

Browse files
authored
Update the remaining mobile media queries (#99)
1 parent 66750a7 commit fd5af2c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-storefront",
3-
"version": "8.7.0",
3+
"version": "8.7.1",
44
"description": "Build and deploy e-commerce progressive web apps (PWAs) in record time.",
55
"module": "./index.js",
66
"license": "Apache-2.0",

src/CmsSlot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ CmsSlot.proptypes = {
8484
/**
8585
* If `true`, will use `display: inline` style.
8686
*/
87-
inline: PropTypes.boolean,
87+
inline: PropTypes.bool,
8888

8989
/**
9090
* If `true` to lazy load images that have been preprocessed with `$.lazyLoadImages()`.
9191
*/
92-
lazyLoadImages: PropTypes.boolean,
92+
lazyLoadImages: PropTypes.bool,
9393

9494
/**
9595
* If `true`, prefetch links that have a `data-rsf-prefetch` attribute.

src/carousel/Carousel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const styles = theme => ({
3636
},
3737
},
3838

39-
'@media (hover:none)': {
39+
'@media not all and (hover:none)': {
4040
hideTouchArrows: {
4141
display: 'none',
4242
},

src/option/SwatchProductOption.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const styles = theme => ({
4949
/**
5050
* Styles applied for mobile devices.
5151
*/
52-
'@media (hover: none)': {
52+
'@media not all and (hover: none)': {
5353
SwatchButton: {
5454
'&:hover': {
5555
backgroundColor: 'transparent',

0 commit comments

Comments
 (0)