You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by sh...@apache.org on 2025/05/27 10:27:58 UTC
(answer) 01/02: fix: dropdown header use h6
This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/answer.git
commit 503e1cf7d48673d23b40c214b0205e1eda38f544
Author: shuai <li...@sifou.com>
AuthorDate: Tue May 27 18:26:46 2025 +0800
fix: dropdown header use h6
---
ui/src/components/QuestionList/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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'}>