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; left: 0;
right: 0; right: 0;
background: var(--color-layer-1); 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,6 +133,7 @@ const GuideModal = ({ isOpen, onClose }: Props) => {
)} )}
</div> </div>
<div className={styles.footer}> <div className={styles.footer}>
<div className={styles.footerContent}>
<Button <Button
isLoading={isSubmitting} isLoading={isSubmitting}
type="primary" type="primary"
@ -140,6 +141,7 @@ const GuideModal = ({ isOpen, onClose }: Props) => {
title="admin_console.general.done" title="admin_console.general.done"
/> />
</div> </div>
</div>
</form> </form>
</FormProvider> </FormProvider>
</div> </div>