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: Optimize the mobile style of QueryGroup component dropdown btns

shuai3fd3e6ba85fa
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)}`