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.

style: delete form.text class text-muted

shuaiaa19d07c34f8
diff --git a/ui/src/components/QuestionList/index.tsx b/ui/src/components/QuestionList/index.tsx
index bc8c965a..0911a945 100644
--- a/ui/src/components/QuestionList/index.tsx
+++ b/ui/src/components/QuestionList/index.tsx
@@ -85,7 +85,7 @@ const QuestionList: FC<Props> = ({
</NavLink>
</h5>
<div className="d-flex flex-column flex-md-row align-items-md-center small mb-2 text-secondary">
- <div className="d-flex flex-nowrap">
+ <div className="d-flex">
<BaseUserCard
data={li.operator}
showAvatar={false}
diff --git a/ui/src/components/SchemaForm/index.tsx b/ui/src/components/SchemaForm/index.tsx
index a82ae8a0..590d5e4f 100644
--- a/ui/src/components/SchemaForm/index.tsx
+++ b/ui/src/components/SchemaForm/index.tsx
@@ -365,10 +365,7 @@ const SchemaForm: ForwardRefRenderFunction<FormRef, FormProps> = (
{fieldState?.errorMsg}
</Form.Control.Feedback>
{description ? (
- <Form.Text
- className="text-muted"
- dangerouslySetInnerHTML={{ __html: description }}
- />
+ <Form.Text dangerouslySetInnerHTML={{ __html: description }} />
) : null}
</Form.Group>
);
diff --git a/ui/src/pages/Users/Settings/Profile/index.tsx b/ui/src/pages/Users/Settings/Profile/index.tsx
index b3359e92..eae6d649 100644
--- a/ui/src/pages/Users/Settings/Profile/index.tsx
+++ b/ui/src/pages/Users/Settings/Profile/index.tsx
@@ -355,7 +355,7 @@ const Index: React.FC = () => {
className="me-3 rounded"
alt={formData.display_name.value}
/>
- <Form.Text className="text-muted mt-1">
+ <Form.Text className="mt-1">
<span>{t('avatar.gravatar_text')}</span>
<a
href={
@@ -399,7 +399,7 @@ const Index: React.FC = () => {
</Button>
</ButtonGroup>
</Stack>
- <Form.Text className="text-muted mt-1">
+ <Form.Text className="mt-1">
<Trans i18nKey="settings.profile.avatar.text">
You can upload your image.
</Trans>