From fe19986939bce9bdab9beacc25bec3da9e715b30 Mon Sep 17 00:00:00 2001 From: luciob Date: Thu, 21 Dec 2023 16:37:43 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20StoryBook=20viewports=20f?= =?UTF-8?q?ix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .storybook/preview.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.storybook/preview.ts b/.storybook/preview.ts index 8e99f3d8..6c59ebb2 100644 --- a/.storybook/preview.ts +++ b/.storybook/preview.ts @@ -41,4 +41,16 @@ export const parameters = { }, }, viewMode: "docs", + viewport: { + viewports: { + desktopDefault: { + name: "desktopDefault", + styles: { + height: 900, + width: 1450, + }, + }, + }, + defaultViewport: "desktopDefault", + }, };