Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed the LoginPage UI #452

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/Auth/Template.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function Template({ formType }) {
{loading ? (
<div className="spinner"></div>
) : (
<div className="mx-auto flex w-11/12 max-w-maxContent flex-col-reverse justify-between gap-y-12 py-12 md:flex-row md:gap-y-0 md:gap-x-12 text-black">
<div className="mx-auto flex w-11/12 max-w-maxContent flex-col-reverse justify-between gap-y-12 py-7 md:flex-row-reverse md:gap-y-0 md:gap-x-12 text-black">
<div className="mx-auto w-11/12 max-w-[450px] md:mx-0">
<h1 className="text-[30px] font-semibold leading-[2.375rem] text-richblack-5">
{formType === "signup"?"Signup Page": "Login Page"}
Expand All @@ -30,7 +30,7 @@ function Template({ formType }) {
</p>
{formType === "signup" ? <SignupForm /> : <LoginForm />}
</div>
<div className="relative mx-auto w-11/12 mt-[50px] max-w-[450px] md:mx-0">
<div className="relative mx-auto w-11/12 mt-[50px] max-w-[450px] flex md:mx-0 md:items-center">
<img
src={formType === "signup" ? SignupImg : LoginImg}
alt="Pattern"
Expand Down