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.
1 parent 3effa58 commit 1eda515Copy full SHA for 1eda515
dotcom-rendering/src/components/Card/Card.stories.tsx
@@ -1,5 +1,5 @@
1
import { css } from '@emotion/react';
2
-import { from } from '@guardian/source/foundations';
+import { breakpoints, from } from '@guardian/source/foundations';
3
import React from 'react';
4
import { splitTheme } from '../../../.storybook/decorators/splitThemeDecorator';
5
import {
@@ -208,6 +208,11 @@ export default {
208
decorators: [
209
splitTheme([basicCardProps.format], { orientation: 'vertical' }),
210
],
211
+ parameters: {
212
+ chromatic: {
213
+ viewports: [breakpoints.mobile, breakpoints.wide],
214
+ },
215
216
};
217
218
/** TODO : Update stories once initial chromatic check has passed on new font size scale */
0 commit comments