0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

style(console): move done button to right in sie guide (#1325)

This commit is contained in:
Wang Sijie 2022-07-01 13:14:18 +08:00 committed by GitHub
parent ec0e92d44c
commit f2323484c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 8 deletions

View file

@ -71,7 +71,12 @@
left: 0;
right: 0;
background: var(--color-layer-1);
padding: _.unit(6) _.unit(20);
text-align: right;
.footerContent {
padding: _.unit(6) 0;
display: flex;
justify-content: right;
@include _.main-content-width;
}
}
}

View file

@ -133,12 +133,14 @@ const GuideModal = ({ isOpen, onClose }: Props) => {
)}
</div>
<div className={styles.footer}>
<Button
isLoading={isSubmitting}
type="primary"
htmlType="submit"
title="admin_console.general.done"
/>
<div className={styles.footerContent}>
<Button
isLoading={isSubmitting}
type="primary"
htmlType="submit"
title="admin_console.general.done"
/>
</div>
</div>
</form>
</FormProvider>