Skip to content

Commit

Permalink
Fix broken layout in AddIdentityForm
Browse files Browse the repository at this point in the history
ref #1700
  • Loading branch information
louischan-oursky committed Dec 11, 2021
2 parents 6be3824 + ac1ecf2 commit 71fef9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions portal/src/graphql/adminapi/AddIdentityForm.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
margin: 10px 20px;
font-size: 15px;
}

.widget {
grid-column: 1 / span 6;
}
3 changes: 1 addition & 2 deletions portal/src/graphql/adminapi/AddIdentityForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ const AddIdentityForm: React.FC<AddIdentityFormProps> =
<LoginIDField value={form.state.loginID} onChange={onLoginIDChange} />
{requirePassword && (
<PasswordField
className={styles.password}
textFieldClassName={styles.passwordField}
className={styles.widget}
passwordPolicy={passwordPolicy}
label={renderToString("AddUsernameScreen.password.label")}
value={form.state.password}
Expand Down

0 comments on commit 71fef9f

Please sign in to comment.