Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f9971df2
authored
Jun 25, 2025
by
t0ng7u
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
馃嵀
style: add `mt-[64px]` in class auth componets
parent
038202b1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
web/src/components/auth/LoginForm.js
+1
-1
web/src/components/auth/PasswordResetConfirm.js
+1
-1
web/src/components/auth/PasswordResetForm.js
+1
-1
web/src/components/auth/RegisterForm.js
+1
-1
No files found.
web/src/components/auth/LoginForm.js
View file @
f9971df2
...
...
@@ -499,7 +499,7 @@ const LoginForm = () => {
};
return
(
<
div
className
=
"bg-gray-100 flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8"
>
<
div
className
=
"bg-gray-100 flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8
mt-[64px]
"
>
<
div
className
=
"w-full max-w-sm"
>
{
showEmailLogin
||
!
(
status
.
github_oauth
||
status
.
oidc_enabled
||
status
.
wechat_login
||
status
.
linuxdo_oauth
||
status
.
telegram_oauth
)
?
renderEmailLoginForm
()
...
...
web/src/components/auth/PasswordResetConfirm.js
View file @
f9971df2
...
...
@@ -78,7 +78,7 @@ const PasswordResetConfirm = () => {
}
return
(
<
div
className
=
"bg-gray-100 flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8"
>
<
div
className
=
"bg-gray-100 flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8
mt-[64px]
"
>
<
div
className
=
"w-full max-w-sm"
>
<
div
className
=
"flex flex-col items-center"
>
<
div
className
=
"w-full max-w-md"
>
...
...
web/src/components/auth/PasswordResetForm.js
View file @
f9971df2
...
...
@@ -78,7 +78,7 @@ const PasswordResetForm = () => {
}
return
(
<
div
className
=
"bg-gray-100 flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8"
>
<
div
className
=
"bg-gray-100 flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8
mt-[64px]
"
>
<
div
className
=
"w-full max-w-sm"
>
<
div
className
=
"flex flex-col items-center"
>
<
div
className
=
"w-full max-w-md"
>
...
...
web/src/components/auth/RegisterForm.js
View file @
f9971df2
...
...
@@ -541,7 +541,7 @@ const RegisterForm = () => {
};
return
(
<
div
className
=
"bg-gray-100 flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8"
>
<
div
className
=
"bg-gray-100 flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8
mt-[64px]
"
>
<
div
className
=
"w-full max-w-sm"
>
{
showEmailRegister
||
!
(
status
.
github_oauth
||
status
.
oidc_enabled
||
status
.
wechat_login
||
status
.
linuxdo_oauth
||
status
.
telegram_oauth
)
?
renderEmailRegisterForm
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment