Skip to content

Commit

Permalink
fix: 🐛 StoryBook viewports fix
Browse files Browse the repository at this point in the history
  • Loading branch information
luciob committed Dec 21, 2023
1 parent dca0fa3 commit fe19986
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,16 @@ export const parameters = {
},
},
viewMode: "docs",
viewport: {
viewports: {
desktopDefault: {
name: "desktopDefault",
styles: {
height: 900,
width: 1450,
},
},
},
defaultViewport: "desktopDefault",
},
};

0 comments on commit fe19986

Please sign in to comment.