A social knowledge tool for researchers built on ATProto

refactor: collection card styles

+5 -1
+3
src/webapp/features/collections/components/collectionCard/CollectionCard.module.css
··· 1 + .root { 2 + cursor: pointer; 3 + }
+2 -1
src/webapp/features/collections/components/collectionCard/CollectionCard.tsx
··· 4 4 import { getRecordKey } from '@/lib/utils/atproto'; 5 5 import { getRelativeTime } from '@/lib/utils/time'; 6 6 import { Avatar, Card, Group, Stack, Text } from '@mantine/core'; 7 + import styles from './CollectionCard.module.css'; 7 8 import { useRouter } from 'next/navigation'; 8 9 9 10 interface Props { ··· 29 30 } 30 31 radius={'lg'} 31 32 p={'sm'} 32 - style={{ cursor: 'pointer' }} 33 + className={styles.root} 33 34 > 34 35 <Stack justify="space-between" h={'100%'}> 35 36 <Stack gap={0}>