We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0c6a2be + a20b6cb commit 16128e4Copy full SHA for 16128e4
dotcom-rendering/src/components/Picture.tsx
@@ -284,6 +284,17 @@ const decideImageWidths = ({
284
},
285
];
286
}
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
+ ];
298
} else {
299
switch (role) {
300
case 'showcase':
0 commit comments