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 2024/11/25 03:23:06 UTC

(incubator-answer) branch test updated: fix: Optimize the mobile style of QueryGroup component dropdown btns

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/incubator-answer.git


The following commit(s) were added to refs/heads/test by this push:
     new 3fd3e6ba fix: Optimize the mobile style of QueryGroup component dropdown btns
3fd3e6ba is described below

commit 3fd3e6ba85fa8351febb0560a2bafd1836b9c009
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)}`