Skip to content

Commit

Permalink
chore: make storybook pages 'fullscreen'
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiasimonato committed May 24, 2024
1 parent 076de90 commit fe6d11d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/ui/src/components/Routes/Page.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ import { Page } from './Page';

export default {
component: Page,
parameters: {
layout: 'fullscreen',
},
} satisfies Meta<typeof Page>;

export const Default = {
Expand Down
1 change: 1 addition & 0 deletions packages/ui/src/pages.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fe6d11d

Please sign in to comment.