Jelajahi Sumber

move comment

yohei0125 4 tahun lalu
induk
melakukan
639fa39497
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      packages/app/src/components/Page/PageListItem.tsx

+ 1 - 1
packages/app/src/components/Page/PageListItem.tsx

@@ -62,8 +62,8 @@ const PageListItem: FC<Props> = memo((props:Props) => {
     }
   }, [isDeviceSmallerThanLg, onClickSearchResultItem, pageData._id]);
 
-  // background color of list item changes when class "active" exists under 'grw-search-result-item'
   const styleListGroupItem = (!isDeviceSmallerThanLg && onClickCheckbox != null) ? 'list-group-item-action' : '';
+  // background color of list item changes when class "active" exists under 'grw-search-result-item'
   const styleActive = !isDeviceSmallerThanLg && isSelected ? 'active' : '';
   const styleBorder = onClickCheckbox != null ? 'border-bottom' : 'list-group-item p-0';