File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
library/core-components/components/auto-layout Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ const alignmentOptions = [
29
29
*
30
30
* ## Resources
31
31
* [How Figma Alignment Works](https://help.figma.com/hc/en-us/articles/360040451373-Explore-auto-layout-properties#alignment)
32
+ *
33
+ * [RadiusAutoLayout Figma Specs](https://www.figma.com/file/ODAUZaQxH8oH2GI0A9MAVb/Radius-Booster---Auto-Layout?type=design&node-id=1302-3736&t=Fh2ap7gIybG92aBU-0)
32
34
*/
33
35
const meta : Meta < typeof RadiusAutoLayout > = {
34
36
component : RadiusAutoLayout ,
@@ -63,7 +65,7 @@ const meta: Meta<typeof RadiusAutoLayout> = {
63
65
} ,
64
66
args : {
65
67
alignment : 'topLeft' ,
66
- direction : 'vertical ' ,
68
+ direction : 'horizontal ' ,
67
69
} ,
68
70
} ;
69
71
@@ -140,20 +142,20 @@ const AlignmentDemo = ({
140
142
isParent
141
143
>
142
144
< RadiusAutoLayout
143
- width = { direction === 'vertical' ? '80px' : '12px' }
144
- height = { direction === 'vertical' ? '12px' : '80px' }
145
+ width = { 25 }
146
+ height = { 25 }
145
147
fill = { { css : '#F7856E' } }
146
148
style = { { zIndex : 1 } }
147
149
/>
148
150
< RadiusAutoLayout
149
- width = { direction === 'vertical' ? '113px' : '12px' }
150
- height = { direction === 'vertical' ? '12px' : '113px' }
151
+ width = { 25 }
152
+ height = { 25 }
151
153
fill = { { css : '#F7856E' } }
152
154
style = { { zIndex : 1 } }
153
155
/>
154
156
< RadiusAutoLayout
155
- width = { direction === 'vertical' ? '65px' : '12px' }
156
- height = { direction === 'vertical' ? '12px' : '65px' }
157
+ width = { 25 }
158
+ height = { 25 }
157
159
fill = { { css : '#F7856E' } }
158
160
style = { { zIndex : 1 } }
159
161
/>
You can’t perform that action at this time.
0 commit comments