Skip to content

Commit

Permalink
fix(mediaquery): Adjust xs screen breakpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscar Martinez authored and ooHmartY committed Jul 3, 2018
1 parent 0436a14 commit 59abab0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion catalog/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const pages = [

const sizes = [
{ name: "xs mobile", width: 320, height: 568 },
{ name: "mobile", width: 414, height: 736 },
{ name: "mobile", width: 480, height: 736 },
{ name: "tablet", width: 768, height: 1024 },
{ name: "desktop", width: 1024, height: 768 },
{ name: "xl desktop", width: 1440, height: 1024 }
Expand Down
2 changes: 1 addition & 1 deletion src/theme/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const constants = {
medium: "(min-width: 768px)",
large: "(min-width: 1024px)",
xLarge: "(min-width: 1440px)",
xSmallAndDown: "(max-width: 320px)",
xSmallAndDown: "(max-width: 480px)",
mediumAndUp: "(min-width: 481px)",
largeAndUp: "(min-width: 769px)",
xLargeAndUp: "(min-width: 1025px)"
Expand Down

0 comments on commit 59abab0

Please sign in to comment.