Onboarding: Center button to continue without installation (https://github.com/woocommerce/woocommerce-admin/pull/3588)
* Center button to continue without installation * Remove margin on last benefit p tag
This commit is contained in:
parent
aed9216ab6
commit
f8195a7b13
|
@ -285,22 +285,24 @@ class BusinessDetails extends Component {
|
|||
</div>
|
||||
|
||||
{ installExtensions && (
|
||||
<Plugins
|
||||
onComplete={ () => {
|
||||
goToNextStep();
|
||||
} }
|
||||
onSkip={ () => {
|
||||
goToNextStep();
|
||||
} }
|
||||
onError={ () => {
|
||||
this.setState( {
|
||||
extensionInstallError: true,
|
||||
isInstallingExtensions: false,
|
||||
} );
|
||||
} }
|
||||
autoInstall
|
||||
pluginSlugs={ extensionsToInstall }
|
||||
/>
|
||||
<div className="woocommerce-profile-wizard__card-actions">
|
||||
<Plugins
|
||||
onComplete={ () => {
|
||||
goToNextStep();
|
||||
} }
|
||||
onSkip={ () => {
|
||||
goToNextStep();
|
||||
} }
|
||||
onError={ () => {
|
||||
this.setState( {
|
||||
extensionInstallError: true,
|
||||
isInstallingExtensions: false,
|
||||
} );
|
||||
} }
|
||||
autoInstall
|
||||
pluginSlugs={ extensionsToInstall }
|
||||
/>
|
||||
</div>
|
||||
) }
|
||||
</Fragment>
|
||||
);
|
||||
|
|
|
@ -36,6 +36,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
.woocommerce-profile-wizard__card-actions {
|
||||
text-align: center;
|
||||
|
||||
.components-button {
|
||||
margin-top: $gap-small;
|
||||
}
|
||||
}
|
||||
|
||||
.woocommerce-profile-wizard__container {
|
||||
.woocommerce-profile-wizard__tos {
|
||||
font-size: 12px;
|
||||
|
@ -172,6 +180,7 @@
|
|||
|
||||
&:last-child p {
|
||||
border-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue