Skip to content

Commit

Permalink
♻️ Update form inputs width (#1263)
Browse files Browse the repository at this point in the history
  • Loading branch information
alejsdev authored Jul 22, 2024
1 parent b79c7c8 commit e15831c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/components/UserSettings/ChangePassword.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const ChangePassword = () => {
{...register("current_password")}
placeholder="Password"
type="password"
w="auto"
/>
{errors.current_password && (
<FormErrorMessage>
Expand All @@ -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>
Expand All @@ -97,6 +99,7 @@ const ChangePassword = () => {
{...register("confirm_password", confirmPasswordRules(getValues))}
placeholder="Password"
type="password"
w="auto"
/>
{errors.confirm_password && (
<FormErrorMessage>
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/components/UserSettings/UserInformation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ const UserInformation = () => {
{...register("full_name", { maxLength: 30 })}
type="text"
size="md"
w="auto"
/>
) : (
<Text
Expand All @@ -121,6 +122,7 @@ const UserInformation = () => {
})}
type="email"
size="md"
w="auto"
/>
) : (
<Text size="md" py={2}>
Expand Down

0 comments on commit e15831c

Please sign in to comment.