Skip to content

Commit

Permalink
fix: fix email bind modal too small
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Nov 21, 2022
1 parent ff25357 commit 2148681
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions web/src/components/PersonalSetting.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ const PersonalSetting = () => {
onClose={() => setShowEmailBindModal(false)}
onOpen={() => setShowEmailBindModal(true)}
open={showEmailBindModal}
size={'mini'}
size={'tiny'}
style={{ maxWidth: '450px' }}
>
<Modal.Header>绑定邮箱地址</Modal.Header>
<Modal.Content>
Expand All @@ -170,7 +171,7 @@ const PersonalSetting = () => {
name='email'
type='email'
action={
<Button onClick={sendVerificationCode} loading={loading}>
<Button onClick={sendVerificationCode} disabled={loading}>
获取验证码
</Button>
}
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/RegisterForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const RegisterForm = () => {
name='email'
type='email'
action={
<Button onClick={sendVerificationCode} loading={loading}>
<Button onClick={sendVerificationCode} disabled={loading}>
获取验证码
</Button>
}
Expand Down

0 comments on commit 2148681

Please sign in to comment.