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

#7308 fix : use "hidden" css property to toggle b/w Login & Forgot Password #7323

Merged
merged 4 commits into from
May 7, 2024
Merged
Changes from 2 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
10 changes: 2 additions & 8 deletions src/Components/Auth/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,7 @@ export const Login = (props: { forgot?: boolean }) => {
<div className="relative flex h-full w-full items-center">
<div
className={
"w-full transition-all " +
(!forgotPassword
? "visible -translate-x-0 opacity-100"
: "invisible -translate-x-5 opacity-0")
"w-full transition-all " + (!forgotPassword ? "" : "hidden")
rithviknishad marked this conversation as resolved.
Show resolved Hide resolved
}
>
<div className="mb-8 w-[300px] text-4xl font-black text-primary-600">
Expand Down Expand Up @@ -354,10 +351,7 @@ export const Login = (props: { forgot?: boolean }) => {

<div
className={
"absolute w-full transition-all " +
(forgotPassword
? "visible translate-x-0 opacity-100"
: "invisible translate-x-5 opacity-0")
"w-full transition-all " + (forgotPassword ? "" : "hidden")
rithviknishad marked this conversation as resolved.
Show resolved Hide resolved
}
>
<button
Expand Down
Loading