Skip to content

Commit

Permalink
adjust animation to big screens
Browse files Browse the repository at this point in the history
  • Loading branch information
clxandstuff committed May 29, 2023
1 parent 8ee773b commit 09e599d
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions src/components/wizard/stories/create-account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,15 @@ const SuccessStep = ({avatarImage}: {avatarImage: string}) => {
left: '10%',
}}
>
<Lottie animationData={brandHeroesAnimation} />
<div
style={{
margin: '0 auto',
width: '100%',
maxWidth: '1000px',
}}
>
<Lottie animationData={brandHeroesAnimation} />
</div>
</div>
<div
style={{
Expand All @@ -166,12 +174,20 @@ const SuccessStep = ({avatarImage}: {avatarImage: string}) => {
left: '10%',
}}
>
<Lottie
lottieRef={confettiAnimationRef}
animationData={confettiAnimation}
loop={false}
autoplay={false}
/>
<div
style={{
margin: '0 auto',
width: '100%',
maxWidth: '1000px',
}}
>
<Lottie
lottieRef={confettiAnimationRef}
animationData={confettiAnimation}
loop={false}
autoplay={false}
/>
</div>
</div>
</>
);
Expand Down

0 comments on commit 09e599d

Please sign in to comment.