diff --git a/i18n/en_US.yaml b/i18n/en_US.yaml index aef4db5d..d3cadf63 100644 --- a/i18n/en_US.yaml +++ b/i18n/en_US.yaml @@ -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: diff --git a/ui/src/hooks/useUserModal/index.tsx b/ui/src/hooks/useUserModal/index.tsx index 0ae10d6e..f54aa107 100644 --- a/ui/src/hooks/useUserModal/index.tsx +++ b/ui/src/hooks/useUserModal/index.tsx @@ -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', }, }, }; diff --git a/ui/src/index.scss b/ui/src/index.scss index d2a581bd..0e5e3427 100644 --- a/ui/src/index.scss +++ b/ui/src/index.scss @@ -40,6 +40,10 @@ img[src=""] { font-size: 0.75rem; } +.small { + font-size: 0.875rem; +} + .pic-auth-modal { width: 25%; }