fix: correct catalog error contrast and add catalog Storybook coverage
Quality / test (push) Canceled after 0s
Quality / test (push) Canceled after 0s
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// Forces a narrow viewport for stories that specifically exercise mobile-only
|
||||
// CSS breakpoints, since @storybook/addon-viewport does not affect the
|
||||
// headless iframe size that @storybook/test-runner navigates to directly.
|
||||
export default {
|
||||
async preVisit(page, context) {
|
||||
if (context.id?.startsWith('pages-catalogpage--mobile')) {
|
||||
await page.setViewportSize({ width: 375, height: 900 });
|
||||
}
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user