mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
groups: truncate long recent group entries
This commit is contained in:
parent
00703e74a1
commit
35cd36407d
@ -57,9 +57,10 @@ function RecentGroups(props: { recent: string[]; associations: Associations }) {
|
||||
bg={color}
|
||||
mr={2}
|
||||
display="block"
|
||||
flexShrink='0'
|
||||
/>
|
||||
<Link to={`/~groups${g}`}>
|
||||
<Text>{assoc?.metadata?.title}</Text>
|
||||
<Link style={{ minWidth: 0 }} to={`/~groups${g}`}>
|
||||
<Text verticalAlign='top' maxWidth='100%' overflow='hidden' display='inline-block' style={{ textOverflow: 'ellipsis', whiteSpace: 'pre' }}>{assoc?.metadata?.title}</Text>
|
||||
</Link>
|
||||
</Row>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user