Skip to content

Commit f08d932

Browse files
committed
fix: recently modified grid
1 parent d50c109 commit f08d932

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

src/library-authoring/LibraryRecentlyModified.tsx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React, { useMemo } from 'react';
22
import { useIntl } from '@edx/frontend-platform/i18n';
33
import { orderBy } from 'lodash';
4-
import { CardGrid } from '@openedx/paragon';
54

65
import { SearchContextProvider, useSearchContext } from '../search-manager';
76
import { type CollectionHit, type ContentHit, SearchSortOption } from '../search-manager/data/api';
@@ -48,15 +47,7 @@ const RecentlyModified: React.FC<{ libraryId: string }> = ({ libraryId }) => {
4847
title={intl.formatMessage(messages.recentlyModifiedTitle)}
4948
contentCount={componentCount}
5049
>
51-
<CardGrid
52-
columnSizes={{
53-
sm: 12,
54-
md: 6,
55-
lg: 4,
56-
xl: 3,
57-
}}
58-
hasEqualColumnHeights
59-
>
50+
<div className="library-cards-grid">
6051
{recentItems.map((contentHit) => (
6152
contentHit.type === 'collection' ? (
6253
<CollectionCard
@@ -71,7 +62,7 @@ const RecentlyModified: React.FC<{ libraryId: string }> = ({ libraryId }) => {
7162
/>
7263
)
7364
))}
74-
</CardGrid>
65+
</div>
7566
</LibrarySection>
7667
)
7768
: null;

0 commit comments

Comments
 (0)