Merge pull request #5017 from urbit/mp/landscape/group-link-full

interface/GroupLink: set full-width click area
This commit is contained in:
matildepark 2021-06-15 20:11:51 -05:00 committed by GitHub
commit 5d55b1ee7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ export function GroupLink(
> >
{modal} {modal}
<Row <Row
width="fit-content" width="100%"
flexShrink={1} flexShrink={1}
alignItems="center" alignItems="center"
py={2} py={2}
@ -69,7 +69,7 @@ export function GroupLink(
} }
opacity={preview ? '1' : '0.6'} opacity={preview ? '1' : '0.6'}
> >
<MetadataIcon height={6} width={6} metadata={preview ? preview.metadata : { color: '0x0' , picture: ''}} /> <MetadataIcon height={6} width={6} metadata={preview ? preview.metadata : { color: '0x0' , picture: '' }} />
<Col> <Col>
<Text ml={2} fontWeight="medium" mono={!preview}> <Text ml={2} fontWeight="medium" mono={!preview}>
{preview ? preview.metadata.title : name} {preview ? preview.metadata.title : name}