Skip to content

Commit 16128e4

Browse files
Merge branch 'main' into mob/inline-product-card
2 parents 0c6a2be + a20b6cb commit 16128e4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

dotcom-rendering/src/components/Picture.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,17 @@ const decideImageWidths = ({
284284
},
285285
];
286286
}
287+
} else if (format.design === ArticleDesign.Gallery) {
288+
return [
289+
{ breakpoint: breakpoints.mobile, width: 375 },
290+
{ breakpoint: breakpoints.mobileMedium, width: 480 },
291+
{ breakpoint: breakpoints.mobileLandscape, width: 660 },
292+
{ breakpoint: breakpoints.phablet, width: 700 },
293+
{ breakpoint: breakpoints.tablet, width: 700 },
294+
{ breakpoint: breakpoints.desktop, width: 740 },
295+
{ breakpoint: breakpoints.leftCol, width: 940 },
296+
{ breakpoint: breakpoints.wide, width: 1020 },
297+
];
287298
} else {
288299
switch (role) {
289300
case 'showcase':

0 commit comments

Comments
 (0)