File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @cube-dev/ui-kit " : patch
3
+ ---
4
+
5
+ fix(Space): items alignment
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ const SpaceElement = tasty({
16
16
'' : 'row' ,
17
17
vertical : 'column' ,
18
18
} ,
19
- alignItems : {
20
- '' : 'center' ,
19
+ placeItems : {
20
+ '' : 'center stretch ' ,
21
21
vertical : 'stretch' ,
22
22
} ,
23
23
} ,
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ export const Default = ({ ...props }) => {
70
70
< Space
71
71
gap = "10x"
72
72
placeContent = "start start"
73
- alignItems = "start"
73
+ placeItems = "start"
74
74
height = "400px"
75
75
>
76
76
{ menu }
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ Paragraphs with gaps between them.
56
56
57
57
<Canvas >
58
58
<Story name = " Text" >
59
- <Space flow = " row wrap" preset = " t3" >
59
+ <Space flow = " row wrap" preset = " t3" placeItems = " baseline " >
60
60
<Text >Normal label</Text >
61
61
<Text.Success >Success label</Text.Success >
62
62
<Text.Danger >Danger label</Text.Danger >
You can’t perform that action at this time.
0 commit comments