Skip to content

Commit e15831c

Browse files
authored
♻️ Update form inputs width (#1263)
1 parent b79c7c8 commit e15831c

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

frontend/src/components/UserSettings/ChangePassword.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ const ChangePassword = () => {
7171
{...register("current_password")}
7272
placeholder="Password"
7373
type="password"
74+
w="auto"
7475
/>
7576
{errors.current_password && (
7677
<FormErrorMessage>
@@ -85,6 +86,7 @@ const ChangePassword = () => {
8586
{...register("new_password", passwordRules())}
8687
placeholder="Password"
8788
type="password"
89+
w="auto"
8890
/>
8991
{errors.new_password && (
9092
<FormErrorMessage>{errors.new_password.message}</FormErrorMessage>
@@ -97,6 +99,7 @@ const ChangePassword = () => {
9799
{...register("confirm_password", confirmPasswordRules(getValues))}
98100
placeholder="Password"
99101
type="password"
102+
w="auto"
100103
/>
101104
{errors.confirm_password && (
102105
<FormErrorMessage>

frontend/src/components/UserSettings/UserInformation.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ const UserInformation = () => {
9797
{...register("full_name", { maxLength: 30 })}
9898
type="text"
9999
size="md"
100+
w="auto"
100101
/>
101102
) : (
102103
<Text
@@ -121,6 +122,7 @@ const UserInformation = () => {
121122
})}
122123
type="email"
123124
size="md"
125+
w="auto"
124126
/>
125127
) : (
126128
<Text size="md" py={2}>

0 commit comments

Comments
 (0)