File tree Expand file tree Collapse file tree 1 file changed +25
-9
lines changed
src/components/wizard/stories Expand file tree Collapse file tree 1 file changed +25
-9
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,15 @@ const SuccessStep = ({avatarImage}: {avatarImage: string}) => {
155
155
left : '10%' ,
156
156
} }
157
157
>
158
- < Lottie animationData = { brandHeroesAnimation } />
158
+ < div
159
+ style = { {
160
+ margin : '0 auto' ,
161
+ width : '100%' ,
162
+ maxWidth : '1000px' ,
163
+ } }
164
+ >
165
+ < Lottie animationData = { brandHeroesAnimation } />
166
+ </ div >
159
167
</ div >
160
168
< div
161
169
style = { {
@@ -166,12 +174,20 @@ const SuccessStep = ({avatarImage}: {avatarImage: string}) => {
166
174
left : '10%' ,
167
175
} }
168
176
>
169
- < Lottie
170
- lottieRef = { confettiAnimationRef }
171
- animationData = { confettiAnimation }
172
- loop = { false }
173
- autoplay = { false }
174
- />
177
+ < div
178
+ style = { {
179
+ margin : '0 auto' ,
180
+ width : '100%' ,
181
+ maxWidth : '1000px' ,
182
+ } }
183
+ >
184
+ < Lottie
185
+ lottieRef = { confettiAnimationRef }
186
+ animationData = { confettiAnimation }
187
+ loop = { false }
188
+ autoplay = { false }
189
+ />
190
+ </ div >
175
191
</ div >
176
192
</ >
177
193
) ;
@@ -218,7 +234,7 @@ const CreateAccountStory = () => {
218
234
return (
219
235
< Wizard onComplete = { onComplete } >
220
236
< Wizard . ProgressBar > Join Brainly</ Wizard . ProgressBar >
221
- < WizardStep >
237
+ { /* <WizardStep>
222
238
<Wizard.Title subtitle="Let us know you better">
223
239
Almost there.
224
240
</Wizard.Title>
@@ -363,7 +379,7 @@ const CreateAccountStory = () => {
363
379
<WizardStep.Submit variant="solid-indigo">
364
380
create account
365
381
</WizardStep.Submit>
366
- </ WizardStep >
382
+ </WizardStep> */ }
367
383
< WizardStep >
368
384
< SuccessStep avatarImage = { avatarImage } />
369
385
</ WizardStep >
You can’t perform that action at this time.
0 commit comments