This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

feat: collection card preview width and limit

+3 -3
+2 -2
src/webapp/features/collections/components/collectionCardPreview/CollectionCardPreview.tsx
··· 16 16 handle: string; 17 17 } 18 18 19 - const CARD_WIDTH = 120; 19 + const CARD_WIDTH = 130; 20 20 21 21 export default function CollectionCardPreview(props: Props) { 22 22 const scroller = useScroller(); ··· 25 25 const { data } = useCollection({ 26 26 rkey: props.rkey, 27 27 handle: props.handle, 28 - limit: 4, 28 + limit: 6, 29 29 }); 30 30 31 31 const cards = data?.pages.flatMap((col) => col.urlCards) ?? [];
+1 -1
src/webapp/features/collections/components/collectionCardPreview/Skeleton.CollectionCardPreview.tsx
··· 1 1 import { AspectRatio, Box, Group, Skeleton } from '@mantine/core'; 2 2 3 - const CARD_WIDTH = 120; 3 + const CARD_WIDTH = 130; 4 4 5 5 export default function CollectionCardPreviewSkeleton() { 6 6 return (