mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 10:02:47 +03:00
GroupLink: address #4485 design review
This commit is contained in:
parent
f77e1da331
commit
d3467e6961
@ -78,7 +78,7 @@ export function GroupLink(
|
||||
<Text ml="2" fontWeight="medium" mono={!preview}>
|
||||
{preview ? preview.metadata.title : name}
|
||||
</Text>
|
||||
<Text pt='1' ml='2'>{preview ? preview.members : "Unknown"} members</Text>
|
||||
<Text pt='1' ml='2'>{preview ? `${preview.members} members` : "Fetching member count"}</Text>
|
||||
</Col>
|
||||
</Row>
|
||||
</Box>
|
||||
|
@ -15,7 +15,7 @@ export function MetadataIcon(props: MetadataIconProps) {
|
||||
const bgColor = metadata.picture ? {} : { bg: `#${uxToHex(metadata.color)}` };
|
||||
|
||||
return (
|
||||
<Box {...bgColor} {...rest}>
|
||||
<Box {...bgColor} {...rest} borderRadius={2}>
|
||||
{metadata.picture && <Image height="100%" src={metadata.picture} />}
|
||||
</Box>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user