소스 검색

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