Profile: tweak sigil size

Fixes urbit/landscape#370
This commit is contained in:
Liam Fitzgerald 2021-02-09 12:24:45 +10:00
parent a2cd566dd2
commit 2ea1dd8dac
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -41,7 +41,7 @@ export function Profile(props: any) {
const image = (!hideAvatars && contact?.avatar) const image = (!hideAvatars && contact?.avatar)
? <BaseImage src={contact.avatar} width='100%' height='100%' style={{ objectFit: 'cover' }} /> ? <BaseImage src={contact.avatar} width='100%' height='100%' style={{ objectFit: 'cover' }} />
: <Sigil ship={ship} size={96} color={hexColor} />; : <Sigil padding={24} ship={ship} size={128} color={hexColor} />;
return ( return (
<Center <Center
@ -64,7 +64,7 @@ export function Profile(props: any) {
width="100%" width="100%"
> >
<Center width="100%" marginTop="-48px"> <Center width="100%" marginTop="-48px">
<Box height='96px' width='96px' borderRadius="2" overflow="hidden"> <Box height='128px' width='128px' borderRadius="2" overflow="hidden">
{image} {image}
</Box> </Box>
</Center> </Center>