From a97e79f092f92ff0d7c1c87e03be54068cce01e3 Mon Sep 17 00:00:00 2001 From: Sven van de Scheur Date: Tue, 13 Feb 2024 16:44:10 +0100 Subject: [PATCH] :construction_worker: #28 - ci: attempt to make mobile snapshots working on Chromatic --- .storybook/modes.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.storybook/modes.ts b/.storybook/modes.ts index da3cc7fd..ba43c306 100644 --- a/.storybook/modes.ts +++ b/.storybook/modes.ts @@ -7,7 +7,10 @@ export const allModes = { "light mobile": { backgrounds: "light", theme: "light", - viewport: "small", + viewport: { + height: 320, + width: 568, + }, }, "dark desktop": { backgrounds: "dark", @@ -17,6 +20,9 @@ export const allModes = { "dark mobile": { backgrounds: "dark", theme: "dark", - viewport: "small", + viewport: { + height: 320, + width: 568, + }, }, };