Skip to content

Commit

Permalink
Merge pull request #477 from answerdev/feat/1.1.2/ui
Browse files Browse the repository at this point in the history
Feat/1.1.2/UI
  • Loading branch information
shuashuai authored Aug 15, 2023
2 parents a9e5e1e + ce970a0 commit 069d7f2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions i18n/en_US.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1434,6 +1434,7 @@ ui:
fields:
users:
label: Bulk add user
placeholder: "John Smith, john@example.com, BUSYopr2 \nAlice, alice@example.com, fpDntV8q"
text: Separate “name, email, password” with commas. One user per line.
msg: "Please enter the user's email, one per line."
display_name:
Expand Down
4 changes: 3 additions & 1 deletion ui/src/hooks/useUserModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ const useAddUserModal = (props: IProps = {}) => {
users: {
'ui:widget': 'textarea',
'ui:options': {
rows: 6,
rows: 7,
placeholder: t('form.fields.users.placeholder'),
className: 'small',
},
},
};
Expand Down
4 changes: 4 additions & 0 deletions ui/src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ img[src=""] {
font-size: 0.75rem;
}

.small {
font-size: 0.875rem;
}

.pic-auth-modal {
width: 25%;
}
Expand Down

0 comments on commit 069d7f2

Please sign in to comment.