Skip to content

Commit 21ab3d9

Browse files
committed
Run Chromatic on mobile and desktop
1 parent 55ad5e1 commit 21ab3d9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dotcom-rendering/src/components/MoreGalleries.stories.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { breakpoints } from '@guardian/source/foundations';
12
import type { Meta, StoryObj } from '@storybook/react-webpack5';
23
import { galleryOnwardsTrails } from '../../fixtures/manual/onwardsTrails';
34
import { ArticleDesign, ArticleDisplay, Pillar } from '../lib/articleFormat';
@@ -23,6 +24,11 @@ export const Default = {
2324
theme: Pillar.Culture,
2425
},
2526
},
27+
parameters: {
28+
chromatic: {
29+
viewports: [breakpoints.mobile, breakpoints.desktop],
30+
},
31+
},
2632
} satisfies Story;
2733

2834
export const WithFourCards = {

0 commit comments

Comments
 (0)