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:
parent
a1726d58b5
commit
f1a7cb3afb
2 changed files with 2 additions and 10 deletions
|
@ -14,11 +14,3 @@
|
|||
margin-right: _.unit(4);
|
||||
}
|
||||
}
|
||||
|
||||
.modal {
|
||||
.description {
|
||||
font: var(--font-body-medium);
|
||||
color: var(--color-caption);
|
||||
margin-bottom: _.unit(4);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue