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: dropdown header use h6

shuai503e1cf7d486
diff --git a/ui/src/components/QuestionList/index.tsx b/ui/src/components/QuestionList/index.tsx
index fcb0994f..a0f8b129 100644
--- a/ui/src/components/QuestionList/index.tsx
+++ b/ui/src/components/QuestionList/index.tsx
@@ -120,7 +120,7 @@ const QuestionList: FC<Props> = ({
</Dropdown.Toggle>
<Dropdown.Menu>
- <Dropdown.Header>
+ <Dropdown.Header as="h6">
{t('view', { keyPrefix: 'btns' })}
</Dropdown.Header>
<Dropdown.Item eventKey="card" active={viewType === 'card'}>