瀏覽代碼

put .list-group-item-list back in

yohei0125 4 年之前
父節點
當前提交
4822631d41
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/app/src/components/SearchPage/SearchResultListItem.tsx

+ 1 - 1
packages/app/src/components/SearchPage/SearchResultListItem.tsx

@@ -48,7 +48,7 @@ const SearchResultListItem: FC<Props> = memo((props:Props) => {
     />
   );
 
-  const responsiveListStyleClass = !isDeviceSmallerThanLg && isSelected ? 'active' : '';
+  const responsiveListStyleClass = `${isDeviceSmallerThanLg ? '' : `list-group-item-action ${isSelected ? 'active' : ''}`}`;
 
   return (
     <li