Skip to content

Commit 4e10961

Browse files
committed
Add more typical viewport for test responsiveness in strorybook
1 parent be7d4e9 commit 4e10961

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed

.storybook/preview.js

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,34 @@ export const parameters = {
6161
"height": "540px",
6262
},
6363
},
64-
"verySmallLandscape": {
65-
"name": "Very small landscape",
64+
"iphone12Pro": {
65+
"name": "Iphone 12 pro",
6666
"styles": {
67-
"width": "599px",
68-
"height": "337px",
67+
"width": "390px",
68+
"height": "844px",
6969
},
7070
},
71+
"iphone5se":{
72+
"name": "Iphone 5/SE",
73+
"styles": {
74+
"width": "320px",
75+
"height": "568px",
76+
},
77+
},
78+
"ipadPro": {
79+
"name": "Ipad pro",
80+
"styles": {
81+
"width": "1240px",
82+
"height": "1366px",
83+
},
84+
},
85+
"Galaxy s9+": {
86+
"name": "Galaxy S9+",
87+
"styles": {
88+
"width": "320px",
89+
"height": "658px",
90+
},
91+
}
7192
},
7293
},
7394
"options": {

0 commit comments

Comments
 (0)