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 <[email protected]>
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)}`

Reply via email to