0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-27 21:39:16 -05:00

fix(console): change account modal margin (#1344)

This commit is contained in:
Wang Sijie 2022-07-01 18:58:46 +08:00 committed by GitHub
parent a1726d58b5
commit f1a7cb3afb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 10 deletions

View file

@ -14,11 +14,3 @@
margin-right: _.unit(4);
}
}
.modal {
.description {
font: var(--font-body-medium);
color: var(--color-caption);
margin-bottom: _.unit(4);
}
}

View file

@ -58,6 +58,7 @@ const ChangePassword = () => {
>
<ModalLayout
title="settings.change_modal_title"
subtitle="settings.change_modal_description"
footer={
<Button
type="primary"
@ -70,8 +71,7 @@ const ChangePassword = () => {
setIsOpen(false);
}}
>
<div className={styles.modal}>
<div className={styles.description}>{t('settings.change_modal_description')}</div>
<div>
<FormField title="admin_console.settings.new_password">
<TextInput {...register('password', { required: true })} type="password" />
</FormField>