Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: add small class

shuaice970a073d3d
diff --git a/ui/src/hooks/useUserModal/index.tsx b/ui/src/hooks/useUserModal/index.tsx
index 771e1315..f54aa107 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 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%;
}