π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
chore: auth email input one password extenction improvement (#4791)
Anmol Singh Bhatiaee4ad580fca9
diff --git a/space/components/account/auth-forms/email.tsx b/space/components/account/auth-forms/email.tsxindex 946e51916e..86e3507b8c 100644--- a/space/components/account/auth-forms/email.tsx+++ b/space/components/account/auth-forms/email.tsx@@ -66,9 +66,10 @@ export const AuthEmailForm: FC<TAuthEmailForm> = observer((props) => {autoFocus/>{email.length > 0 && (- <div className="flex-shrink-0 h-5 w-5 mr-2 bg-onboarding-background-200 hover:cursor-pointer">- <XCircle className="h-5 w-5 stroke-custom-text-400" onClick={() => setEmail("")} />- </div>+ <XCircle+ className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"+ onClick={() => setEmail("")}+ />)}</div>{emailError?.email && !isFocused && (diff --git a/space/components/account/auth-forms/password.tsx b/space/components/account/auth-forms/password.tsxindex 361bd4fc3b..5a2f0664e0 100644--- a/space/components/account/auth-forms/password.tsx+++ b/space/components/account/auth-forms/password.tsx@@ -117,9 +117,10 @@ export const AuthPasswordForm: React.FC<Props> = observer((props: Props) => {disabled/>{passwordFormData.email.length > 0 && (- <div className="flex-shrink-0 h-5 w-5 mr-2 bg-onboarding-background-200 hover:cursor-pointer">- <XCircle className="h-5 w-5 stroke-custom-text-400" onClick={handleEmailClear} />- </div>+ <XCircle+ className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"+ onClick={handleEmailClear}+ />)}</div></div>diff --git a/space/components/account/auth-forms/unique-code.tsx b/space/components/account/auth-forms/unique-code.tsxindex e3c82bce6e..10c7b4f00a 100644--- a/space/components/account/auth-forms/unique-code.tsx+++ b/space/components/account/auth-forms/unique-code.tsx@@ -101,9 +101,10 @@ export const AuthUniqueCodeForm: React.FC<TAuthUniqueCodeForm> = (props) => {disabled/>{uniqueCodeFormData.email.length > 0 && (- <div className="flex-shrink-0 h-5 w-5 mr-2 bg-onboarding-background-200 hover:cursor-pointer">- <XCircle className="h-5 w-5 stroke-custom-text-400" onClick={handleEmailClear} />- </div>+ <XCircle+ className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"+ onClick={handleEmailClear}+ />)}</div></div>diff --git a/web/core/components/account/auth-forms/email.tsx b/web/core/components/account/auth-forms/email.tsxindex f25bf7512e..997e8aa272 100644--- a/web/core/components/account/auth-forms/email.tsx+++ b/web/core/components/account/auth-forms/email.tsx@@ -66,9 +66,10 @@ export const AuthEmailForm: FC<TAuthEmailForm> = observer((props) => {autoFocus/>{email.length > 0 && (- <div className="flex-shrink-0 h-5 w-5 mr-2 bg-onboarding-background-200 hover:cursor-pointer">- <XCircle className="h-5 w-5 stroke-custom-text-400" onClick={() => setEmail("")} />- </div>+ <XCircle+ className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"+ onClick={() => setEmail("")}+ />)}</div>{emailError?.email && !isFocused && (diff --git a/web/core/components/account/auth-forms/password.tsx b/web/core/components/account/auth-forms/password.tsxindex 6437688e03..7822d9aa4c 100644--- a/web/core/components/account/auth-forms/password.tsx+++ b/web/core/components/account/auth-forms/password.tsx@@ -140,9 +140,10 @@ export const AuthPasswordForm: React.FC<Props> = observer((props: Props) => {disabled/>{passwordFormData.email.length > 0 && (- <div className="flex-shrink-0 h-5 w-5 mr-2 bg-onboarding-background-200 hover:cursor-pointer">- <XCircle className="h-5 w-5 stroke-custom-text-400" onClick={handleEmailClear} />- </div>+ <XCircle+ className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"+ onClick={handleEmailClear}+ />)}</div></div>diff --git a/web/core/components/account/auth-forms/unique-code.tsx b/web/core/components/account/auth-forms/unique-code.tsxindex 3c121f3bb1..2d17c0adee 100644--- a/web/core/components/account/auth-forms/unique-code.tsx+++ b/web/core/components/account/auth-forms/unique-code.tsx@@ -100,9 +100,10 @@ export const AuthUniqueCodeForm: React.FC<TAuthUniqueCodeForm> = (props) => {disabled/>{uniqueCodeFormData.email.length > 0 && (- <div className="flex-shrink-0 h-5 w-5 mr-2 bg-onboarding-background-200 hover:cursor-pointer">- <XCircle className="h-5 w-5 stroke-custom-text-400" onClick={handleEmailClear} />- </div>+ <XCircle+ className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"+ onClick={handleEmailClear}+ />)}</div></div>