Skip to content

Commit

Permalink
ui updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Seroxdesign committed Jun 22, 2023
1 parent c147beb commit d304b28
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions packages/web/components/Landing/UserGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const UserGrid: React.FC<{
}}
>
<PlayerProfilePicture {...{ player }} round={true} size="xxs" />
<Text sx={{ fontSize: 'xs' }}>
<Text sx={{ fontSize: 'xs' }} noOfLines={1}>
{player.profile?.name || formatAddress(player.ethereumAddress)}
</Text>
</Link>
Expand All @@ -82,7 +82,9 @@ export const UserGrid: React.FC<{
>
<Box key={`guild-user-${i}`} textAlign="center">
<RoundImage size="xxs" src={guild.logo || ''} />
<Text sx={{ fontSize: 'xs' }}>{guild.guildname}</Text>
<Text sx={{ fontSize: 'xs' }} noOfLines={1}>
{guild.guildname}
</Text>
</Box>
</Link>
))}
Expand All @@ -104,7 +106,9 @@ export const UserGrid: React.FC<{
>
<Box key={`elder-user-${i}`} textAlign="center">
<RoundImage size="xxs" src={elder.img || ''} />
<Text sx={{ fontSize: 'xs' }}>{elder.name}</Text>
<Text sx={{ fontSize: 'xs' }} noOfLines={1}>
{elder.name}
</Text>
</Box>
</Link>
))}
Expand Down Expand Up @@ -145,7 +149,7 @@ export const UserGrid: React.FC<{
fontWeight="semibold"
borderColor="whiteAlpha.400"
color="#E839B7"
bg="#222"
bg="#1B0D2A"
>
see all
</Box>
Expand Down
2 changes: 1 addition & 1 deletion packages/web/components/RoundImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const RoundImage: React.FC<RoundImageProps> = ({ src, ...props }) => (
>
<Image
position="absolute"
bg="#222"
bg="#1B0D2A"
borderRadius="50%"
w="100%"
height="full"
Expand Down

0 comments on commit d304b28

Please sign in to comment.