From ee5069aa2af31731c279a9553bfa74f0b88932de Mon Sep 17 00:00:00 2001 From: ariari04 Date: Fri, 27 Sep 2024 15:53:38 +0600 Subject: [PATCH] Some changes for profile --- src/app/[locale]/profile/layout.tsx | 2 +- src/widgets/forms/ProfileForm/ProfileForm.tsx | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/[locale]/profile/layout.tsx b/src/app/[locale]/profile/layout.tsx index 1c8ba27..854b868 100644 --- a/src/app/[locale]/profile/layout.tsx +++ b/src/app/[locale]/profile/layout.tsx @@ -33,7 +33,7 @@ const Profile = async ({ const data = await getProfile(); return ( -
+
{children} diff --git a/src/widgets/forms/ProfileForm/ProfileForm.tsx b/src/widgets/forms/ProfileForm/ProfileForm.tsx index 09a871f..545d7bb 100644 --- a/src/widgets/forms/ProfileForm/ProfileForm.tsx +++ b/src/widgets/forms/ProfileForm/ProfileForm.tsx @@ -107,7 +107,7 @@ const ProfileForm: React.FC = ({ value={firstName} {...register("firstName", { required: true })} type="text" - className="w-full max-w-[957px] p-4 border border-white rounded-sm text-[18px] leading-6 text-black" + className="w-full max-w-[957px] p-4 border border-gray-400 rounded-md mr-2 text-[18px] leading-6 text-black" />
@@ -169,7 +169,7 @@ const ProfileForm: React.FC = ({ value={"*****************************"} disabled={editLastName} type="password" - className="w-full max-w-[957px] p-4 border border-white rounded-sm text-[18px] leading-6 text-black" + className="w-full max-w-[957px] p-4 border border-gray-400 rounded-md mr-2 text-[18px] leading-6 text-black" /> - + {openPopup && }