♻️ Update form inputs width (#1263)

This commit is contained in:
Alejandra
2024-07-21 20:24:32 -05:00
committed by GitHub
parent b79c7c8e99
commit e15831c930
2 changed files with 5 additions and 0 deletions

View File

@@ -71,6 +71,7 @@ const ChangePassword = () => {
{...register("current_password")}
placeholder="Password"
type="password"
w="auto"
/>
{errors.current_password && (
<FormErrorMessage>
@@ -85,6 +86,7 @@ const ChangePassword = () => {
{...register("new_password", passwordRules())}
placeholder="Password"
type="password"
w="auto"
/>
{errors.new_password && (
<FormErrorMessage>{errors.new_password.message}</FormErrorMessage>
@@ -97,6 +99,7 @@ const ChangePassword = () => {
{...register("confirm_password", confirmPasswordRules(getValues))}
placeholder="Password"
type="password"
w="auto"
/>
{errors.confirm_password && (
<FormErrorMessage>

View File

@@ -97,6 +97,7 @@ const UserInformation = () => {
{...register("full_name", { maxLength: 30 })}
type="text"
size="md"
w="auto"
/>
) : (
<Text
@@ -121,6 +122,7 @@ const UserInformation = () => {
})}
type="email"
size="md"
w="auto"
/>
) : (
<Text size="md" py={2}>