File tree Expand file tree Collapse file tree
src/components/wizard/stories Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,7 +155,15 @@ const SuccessStep = ({avatarImage}: {avatarImage: string}) => {
155155 left : '10%' ,
156156 } }
157157 >
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 >
159167 </ div >
160168 < div
161169 style = { {
@@ -166,12 +174,20 @@ const SuccessStep = ({avatarImage}: {avatarImage: string}) => {
166174 left : '10%' ,
167175 } }
168176 >
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 >
175191 </ div >
176192 </ >
177193 ) ;
@@ -218,7 +234,7 @@ const CreateAccountStory = () => {
218234 return (
219235 < Wizard onComplete = { onComplete } >
220236 < Wizard . ProgressBar > Join Brainly</ Wizard . ProgressBar >
221- < WizardStep >
237+ { /* <WizardStep>
222238 <Wizard.Title subtitle="Let us know you better">
223239 Almost there.
224240 </Wizard.Title>
@@ -363,7 +379,7 @@ const CreateAccountStory = () => {
363379 <WizardStep.Submit variant="solid-indigo">
364380 create account
365381 </WizardStep.Submit>
366- </ WizardStep >
382+ </WizardStep> */ }
367383 < WizardStep >
368384 < SuccessStep avatarImage = { avatarImage } />
369385 </ WizardStep >
You can’t perform that action at this time.
0 commit comments