From fe6d11dab243ff5fc56c3145cc2bc6a0d0f92ef4 Mon Sep 17 00:00:00 2001 From: Mattia Simonato Date: Fri, 24 May 2024 16:44:40 +0200 Subject: [PATCH] chore: make storybook pages 'fullscreen' --- packages/ui/src/components/Routes/Page.stories.tsx | 3 +++ packages/ui/src/pages.stories.tsx | 1 + 2 files changed, 4 insertions(+) diff --git a/packages/ui/src/components/Routes/Page.stories.tsx b/packages/ui/src/components/Routes/Page.stories.tsx index cad363277..a745acbc4 100644 --- a/packages/ui/src/components/Routes/Page.stories.tsx +++ b/packages/ui/src/components/Routes/Page.stories.tsx @@ -20,6 +20,9 @@ import { Page } from './Page'; export default { component: Page, + parameters: { + layout: 'fullscreen', + }, } satisfies Meta; export const Default = { diff --git a/packages/ui/src/pages.stories.tsx b/packages/ui/src/pages.stories.tsx index f6967bafe..b886093f0 100644 --- a/packages/ui/src/pages.stories.tsx +++ b/packages/ui/src/pages.stories.tsx @@ -17,6 +17,7 @@ import { Default as PageStory } from './components/Routes/Page.stories'; export default { title: 'Pages', parameters: { + layout: 'fullscreen', chromatic: { // We don't want to snapshot page examples, that just causes a lot of noise. disableSnapshot: true,