Skip to content

Commit

Permalink
perf(auth): correct verify button position in register form
Browse files Browse the repository at this point in the history
  • Loading branch information
qwqcode committed Aug 31, 2024
1 parent f104629 commit 88615f9
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions ui/plugin-auth/DialogPageRegister.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,25 +83,25 @@ export const DialogPageRegister = (props: DialogPageRegisterProps) => {
required
/>
</Show>
<input
type="email"
placeholder={ctx.$t('email')}
name="email"
value={fields.email}
onInput={(e) => setFields('email', e.target.value.trim())}
required
/>
<div class="atk-input-grp">
<input
type="email"
placeholder={ctx.$t('email')}
name="email"
value={fields.email}
onInput={(e) => setFields('email', e.target.value.trim())}
type="text"
placeholder={ctx.$t('verificationCode')}
name="code"
value={fields.code}
onInput={(e) => setFields('code', e.target.value.trim())}
required
/>
<VerifyButton ctx={ctx} getEmail={() => fields.email} />
</div>
<input
type="text"
placeholder={ctx.$t('verificationCode')}
name="code"
value={fields.code}
onInput={(e) => setFields('code', e.target.value.trim())}
required
/>
<Show when={mode() === 'forget'}>
<input
type="password"
Expand Down

0 comments on commit 88615f9

Please sign in to comment.