Skip to content

Commit

Permalink
fix: Change default media config to use proper media queries for pict…
Browse files Browse the repository at this point in the history
…ures
  • Loading branch information
rmch91 committed Oct 24, 2024
1 parent b14d700 commit c52bd18
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions projects/storefrontlib/recipes/config/default-media.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ export const mediaConfig: MediaConfig = {
media: {
pictureElementFormats: {
mobile: {
mediaQueries: '(max-width: 767px)',
mediaQueries: '(max-width: 480px)',
},
tablet: {
mediaQueries: '(min-width: 768px) and (max-width: 1024px)',
mediaQueries: '(min-width: 481px) and (max-width: 770px)',
},
desktop: {
mediaQueries: '(min-width: 1025px) and (max-width: 1439px)',
mediaQueries: '(min-width: 771px) and (max-width: 960px)',
},
widescreen: {
mediaQueries: '(min-width: 1440px)',
mediaQueries: '(min-width: 961px)',
},
},
pictureFormatsOrder: ['widescreen', 'desktop', 'tablet', 'mobile'],
Expand Down

0 comments on commit c52bd18

Please sign in to comment.