We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 50ea04f + 73cade0 commit a20b6cbCopy full SHA for a20b6cb
dotcom-rendering/src/components/Picture.tsx
@@ -278,6 +278,17 @@ const decideImageWidths = ({
278
},
279
];
280
}
281
+ } else if (format.design === ArticleDesign.Gallery) {
282
+ return [
283
+ { breakpoint: breakpoints.mobile, width: 375 },
284
+ { breakpoint: breakpoints.mobileMedium, width: 480 },
285
+ { breakpoint: breakpoints.mobileLandscape, width: 660 },
286
+ { breakpoint: breakpoints.phablet, width: 700 },
287
+ { breakpoint: breakpoints.tablet, width: 700 },
288
+ { breakpoint: breakpoints.desktop, width: 740 },
289
+ { breakpoint: breakpoints.leftCol, width: 940 },
290
+ { breakpoint: breakpoints.wide, width: 1020 },
291
+ ];
292
} else {
293
switch (role) {
294
case 'showcase':
0 commit comments