Skip to content

Commit

Permalink
Added Classes and CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
officiallygod committed Jan 4, 2023
1 parent 3bd9abd commit 76f8631
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/OnboardingSPA/pages/Steps/Ecommerce/StepAddress/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,8 @@ const StepAddress = () => {
'wp-module-onboarding'
)}
/>
{settings === null && <p>Loading your details...</p>}
</div>
<div className='store-address-form'>
<div className={`store-address-form ${settings ? 'store-address-form--visible' : 'store-address-form--blank'}`}>
<div data-name='country'>
<label aria-required>
{__('Where is your store based?', 'wp-module-onboarding')}
Expand Down
8 changes: 8 additions & 0 deletions src/OnboardingSPA/pages/Steps/Ecommerce/stylesheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,14 @@
width: 100%;
}
}

&--visible {
animation: fadeIn 500ms ease-in;
}

&--blank {
opacity: 0;
}
}
}

Expand Down

0 comments on commit 76f8631

Please sign in to comment.