Skip to content

Commit

Permalink
fix: extra small storybook viewports
Browse files Browse the repository at this point in the history
  • Loading branch information
haideralsh committed Sep 25, 2023
1 parent 5ab22a3 commit 42a7327
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const newViewports = {
extraSmall: {
name: "Extra small",
styles: {
width: theme.breakpoints.extraSmall,
width: "320px",
height: "100%",
},
},
Expand Down Expand Up @@ -39,6 +39,7 @@ const newViewports = {
},
},
};

export const parameters = {
viewport: { viewports: newViewports },
layout: "padded",
Expand Down

0 comments on commit 42a7327

Please sign in to comment.