From e15831c9305d99c46f0899cd74c7278a2df8e42d Mon Sep 17 00:00:00 2001 From: Alejandra <90076947+alejsdev@users.noreply.github.com> Date: Sun, 21 Jul 2024 20:24:32 -0500 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Update=20form=20inputs=20w?= =?UTF-8?q?idth=20(#1263)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/UserSettings/ChangePassword.tsx | 3 +++ frontend/src/components/UserSettings/UserInformation.tsx | 2 ++ 2 files changed, 5 insertions(+) diff --git a/frontend/src/components/UserSettings/ChangePassword.tsx b/frontend/src/components/UserSettings/ChangePassword.tsx index 9619b4f..0698e1a 100644 --- a/frontend/src/components/UserSettings/ChangePassword.tsx +++ b/frontend/src/components/UserSettings/ChangePassword.tsx @@ -71,6 +71,7 @@ const ChangePassword = () => { {...register("current_password")} placeholder="Password" type="password" + w="auto" /> {errors.current_password && ( @@ -85,6 +86,7 @@ const ChangePassword = () => { {...register("new_password", passwordRules())} placeholder="Password" type="password" + w="auto" /> {errors.new_password && ( {errors.new_password.message} @@ -97,6 +99,7 @@ const ChangePassword = () => { {...register("confirm_password", confirmPasswordRules(getValues))} placeholder="Password" type="password" + w="auto" /> {errors.confirm_password && ( diff --git a/frontend/src/components/UserSettings/UserInformation.tsx b/frontend/src/components/UserSettings/UserInformation.tsx index ca06b5a..03e2fdf 100644 --- a/frontend/src/components/UserSettings/UserInformation.tsx +++ b/frontend/src/components/UserSettings/UserInformation.tsx @@ -97,6 +97,7 @@ const UserInformation = () => { {...register("full_name", { maxLength: 30 })} type="text" size="md" + w="auto" /> ) : ( { })} type="email" size="md" + w="auto" /> ) : (