Skip to content

Commit

Permalink
[FIX] padding style
Browse files Browse the repository at this point in the history
  • Loading branch information
catherineeangel committed May 29, 2024
1 parent 3159b95 commit 201407e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app/login/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default function LoginForm() {
borderRadius={'0 0 80% 0'}
alignItems={'center'}
justifyContent={'center'}
padding={{ xs: '4em 4em', lg: '4em 4em' }}
padding={{ xs: '10px 10px', lg: '4em 4em' }}
>
<form
className="flex flex-col gap-3"
Expand Down
2 changes: 1 addition & 1 deletion src/app/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function LoginPage() {
borderRadius={'0 0 80% 0'}
alignItems={'center'}
justifyContent={'center'}
padding={{ xs: '4em 4em', lg: '4em 4em' }}
padding={{ xs: '10px 10px', lg: '4em 4em' }}
>
<LoginPageTitle data-testid="login-title" />
<LoginForm data-testid="login-form" />
Expand Down
2 changes: 1 addition & 1 deletion src/app/register/RegisterForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function RegisterForm() {
borderRadius={'0 0 80% 0'}
alignItems={'center'}
justifyContent={'center'}
padding={{ xs: '4em 4em', lg: '4em 4em' }}
padding={{ xs: '10px 10px', lg: '4em 4em' }}
>
<form
className="flex flex-col gap-3"
Expand Down
2 changes: 1 addition & 1 deletion src/app/register/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function Register() {
borderRadius={'0 0 80% 0'}
alignItems={'center'}
justifyContent={'center'}
padding={{ xs: '4em 4em', lg: '4em 4em' }}
padding={{ xs: '10px 10px', lg: '4em 4em' }}
>
<RegisterPageTitle />
<RegisterForm />
Expand Down
6 changes: 4 additions & 2 deletions src/app/register/verify/VerifyForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function VerifyEmailForm() {
token: '',
}

const [verify] = useVerifyEmailMutation()
const [verify, { isLoading }] = useVerifyEmailMutation()

const [openPrompt, setOpenPrompt] = useState(false)
const [message, setMessage] = useState('')
Expand Down Expand Up @@ -78,7 +78,9 @@ export default function VerifyEmailForm() {
required
data-testid="token-input"
/>
<Button type="submit">Verify</Button>
<Button type="submit" loading={isLoading}>
Verify
</Button>
</form>

<MessageDialog
Expand Down
1 change: 1 addition & 0 deletions src/types/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export interface Profile {
id: number
username: string
email: string
is_verified_user: boolean
}
profile: {
bio: string
Expand Down

0 comments on commit 201407e

Please sign in to comment.