fix: footer link behaviour

This commit is contained in:
Sonny
2024-11-15 23:53:17 +01:00
parent 2f820bb877
commit c46cc1a8fb
2 changed files with 8 additions and 15 deletions

View File

@@ -36,20 +36,11 @@ export default function CollectionItem({
title={collection.name}
>
<FolderIcon className={classes.linkIcon} />
<Text
lineClamp={1}
maw={'200px'}
w="100%"
style={{ wordBreak: 'break-all' }}
>
<Text lineClamp={1} maw={'200px'} style={{ wordBreak: 'break-all' }}>
{collection.name}
</Text>
{showLinks && (
<Text
style={{ whiteSpace: 'nowrap' }}
c="var(--mantine-color-gray-5)"
ml={4}
>
<Text style={{ whiteSpace: 'nowrap' }} c="dimmed" ml="sm">
{linksCount}
</Text>
)}