From ce970a073d3d890baa55a92ec5f51edc45b5672a Mon Sep 17 00:00:00 2001 From: shuai Date: Tue, 15 Aug 2023 14:52:25 +0800 Subject: [PATCH] fix: add small class --- ui/src/hooks/useUserModal/index.tsx | 3 ++- ui/src/index.scss | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ui/src/hooks/useUserModal/index.tsx b/ui/src/hooks/useUserModal/index.tsx index 771e1315a..f54aa1074 100644 --- a/ui/src/hooks/useUserModal/index.tsx +++ b/ui/src/hooks/useUserModal/index.tsx @@ -37,8 +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 d2a581bd9..0e5e34277 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%; }