@itcase/storybook-config 1.1.106 → 1.1.108

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,6 +13,7 @@ function withLayoutDecorator() {
13
13
  bottomFull: 'sb-layout-bottom-full',
14
14
  center: 'sb-layout-center',
15
15
  leftFull: 'sb-layout-left-full',
16
+ relative: 'sb-layout-relative',
16
17
  rightFull: 'sb-layout-right-full',
17
18
  topFull: 'sb-layout-top-full'
18
19
  };
@@ -33,6 +33,20 @@
33
33
  }
34
34
 
35
35
  .sb-layout {
36
+ &-relative {
37
+ position: relative;
38
+ min-height: 100vh;
39
+ display: flex;
40
+ justify-content: center;
41
+ align-items: center;
42
+ & > div {
43
+ position: relative;
44
+ left: auto !important;
45
+ top: auto !important;
46
+ right: auto !important;
47
+ bottom: auto !important;
48
+ }
49
+ }
36
50
  &-top {
37
51
  min-height: 100vh;
38
52
  display: flex;
@@ -45,10 +59,6 @@
45
59
  justify-content: center;
46
60
  align-items: flex-start;
47
61
  }
48
- & > div {
49
- display: flex;
50
- min-width: 100vh;
51
- }
52
62
  }
53
63
  &-right {
54
64
  min-height: 100vh;
@@ -61,10 +71,6 @@
61
71
  justify-content: flex-end;
62
72
  align-items: center;
63
73
  }
64
- & > div {
65
- display: flex;
66
- min-height: 100vh;
67
- }
68
74
  }
69
75
  &-bottom {
70
76
  min-height: 100vh;
@@ -78,10 +84,6 @@
78
84
  justify-content: center;
79
85
  align-items: flex-end;
80
86
  }
81
- & > div {
82
- display: flex;
83
- min-width: 100vh;
84
- }
85
87
  }
86
88
  &-left {
87
89
  min-height: 100vh;
@@ -94,10 +96,6 @@
94
96
  justify-content: flex-start;
95
97
  align-items: center;
96
98
  }
97
- & > div {
98
- display: flex;
99
- min-height: 100vh;
100
- }
101
99
  }
102
100
  &-center {
103
101
  min-height: 100vh;
@@ -119,10 +117,6 @@
119
117
  width: auto;
120
118
  }
121
119
  }
122
- & > div {
123
- display: flex;
124
- min-height: 100vh;
125
- }
126
120
  }
127
121
  }
128
122
 
@@ -11,6 +11,7 @@ function withLayoutDecorator() {
11
11
  bottomFull: 'sb-layout-bottom-full',
12
12
  center: 'sb-layout-center',
13
13
  leftFull: 'sb-layout-left-full',
14
+ relative: 'sb-layout-relative',
14
15
  rightFull: 'sb-layout-right-full',
15
16
  topFull: 'sb-layout-top-full'
16
17
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/storybook-config",
3
- "version": "1.1.106",
3
+ "version": "1.1.108",
4
4
  "author": "ITCase",
5
5
  "description": "Storybook configuration package",
6
6
  "engines": {