diff --git a/frontend/src/app/change-password/page.tsx b/frontend/src/app/change-password/page.tsx index 69ea7a3..19bd9f1 100644 --- a/frontend/src/app/change-password/page.tsx +++ b/frontend/src/app/change-password/page.tsx @@ -17,6 +17,9 @@ export default function ChangePasswordPage() { const [confirmPassword, setConfirmPassword] = useState(''); const [error, setError] = useState(''); const [saving, setSaving] = useState(false); + const [showCurrentPwd, setShowCurrentPwd] = useState(false); + const [showNewPwd, setShowNewPwd] = useState(false); + const [showConfirmPwd, setShowConfirmPwd] = useState(false); async function handleSubmit(e: React.FormEvent) { e.preventDefault(); @@ -63,18 +66,39 @@ export default function ChangePasswordPage() {
- setCurrentPassword(e.target.value)} className={INPUT_CLS} /> +
+ setCurrentPassword(e.target.value)} className={INPUT_CLS + ' pr-10'} /> + +
- setNewPassword(e.target.value)} className={INPUT_CLS} /> +
+ setNewPassword(e.target.value)} className={INPUT_CLS + ' pr-10'} /> + +
- setConfirmPassword(e.target.value)} className={INPUT_CLS} /> +
+ setConfirmPassword(e.target.value)} className={INPUT_CLS + ' pr-10'} /> + +
{error &&
{error}
}