File tree Expand file tree Collapse file tree 1 file changed +50
-8
lines changed Expand file tree Collapse file tree 1 file changed +50
-8
lines changed Original file line number Diff line number Diff line change @@ -4,33 +4,75 @@ import '../../src/base/index.scss'
4
4
import renderToHTML from '../src/stories/helpers/code-snippet-html-helper'
5
5
6
6
const customViewports = {
7
- widthSM : {
8
- name : 'width-sm' ,
7
+ minXS : {
8
+ name : 'XS (min)' ,
9
+ styles : {
10
+ width : '375px' ,
11
+ height : '100%'
12
+ }
13
+ } ,
14
+ maxXS : {
15
+ name : 'XS (max)' ,
16
+ styles : {
17
+ width : '543px' ,
18
+ height : '100%'
19
+ }
20
+ } ,
21
+ minSM : {
22
+ name : 'SM (min)' ,
9
23
styles : {
10
24
width : '544px' ,
11
25
height : '100%'
12
26
}
13
27
} ,
14
- widthMD : {
15
- name : 'width-md' ,
28
+ maxSM : {
29
+ name : 'SM (max)' ,
30
+ styles : {
31
+ width : '767px' ,
32
+ height : '100%'
33
+ }
34
+ } ,
35
+ minMD : {
36
+ name : 'MD (min)' ,
16
37
styles : {
17
38
width : '768px' ,
18
39
height : '100%'
19
40
}
20
41
} ,
21
- widthLG : {
22
- name : 'width-lg' ,
42
+ maxMD : {
43
+ name : 'MD (max)' ,
44
+ styles : {
45
+ width : '1011px' ,
46
+ height : '100%'
47
+ }
48
+ } ,
49
+ minLG : {
50
+ name : 'LG (min)' ,
23
51
styles : {
24
52
width : '1012px' ,
25
53
height : '100%'
26
54
}
27
55
} ,
28
- widthXL : {
29
- name : 'width-xl' ,
56
+ maxLG : {
57
+ name : 'LG (max)' ,
58
+ styles : {
59
+ width : '1279px' ,
60
+ height : '100%'
61
+ }
62
+ } ,
63
+ minXL : {
64
+ name : 'XL (min)' ,
30
65
styles : {
31
66
width : '1280px' ,
32
67
height : '100%'
33
68
}
69
+ } ,
70
+ medXL : {
71
+ name : 'XL (med)' ,
72
+ styles : {
73
+ width : '1440px' ,
74
+ height : '100%'
75
+ }
34
76
}
35
77
}
36
78
You can’t perform that action at this time.
0 commit comments