You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by li...@apache.org on 2024/12/09 03:52:50 UTC
(incubator-answer) 25/38: fix: Optimize the mobile style of QueryGroup component dropdown btns
This is an automated email from the ASF dual-hosted git repository.
linkinstar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
commit 4f01ccd5ded3d980863b67718340c88cde81cbd7
Author: shuai <li...@sifou.com>
AuthorDate: Mon Nov 25 11:22:54 2024 +0800
fix: Optimize the mobile style of QueryGroup component dropdown btns
---
ui/src/components/QueryGroup/index.tsx | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/ui/src/components/QueryGroup/index.tsx b/ui/src/components/QueryGroup/index.tsx
index 52fca616..878e8ed6 100644
--- a/ui/src/components/QueryGroup/index.tsx
+++ b/ui/src/components/QueryGroup/index.tsx
@@ -143,11 +143,7 @@ const Index: FC<Props> = ({
as="a"
key={key}
active={currentSort === name}
- className={classNames(
- 'text-capitalize',
- 'd-block d-sm-none',
- className,
- )}
+ className={classNames('text-capitalize', className)}
href={
pathname
? `${REACT_BASE_PATH}${pathname}${handleParams(key)}`