mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-20 23:18:00 +03:00
interface/GroupLink: set full-width click area
"fit-content" limits the clickable space for the group link, so we just tell the row to expand to its parent. Fixes urbit/landscape#978
This commit is contained in:
parent
617b97b450
commit
0cfa7a2d50
@ -59,7 +59,7 @@ export function GroupLink(
|
||||
>
|
||||
{modal}
|
||||
<Row
|
||||
width="fit-content"
|
||||
width="100%"
|
||||
flexShrink={1}
|
||||
alignItems="center"
|
||||
py={2}
|
||||
@ -69,7 +69,7 @@ export function GroupLink(
|
||||
}
|
||||
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>
|
||||
<Text ml={2} fontWeight="medium" mono={!preview}>
|
||||
{preview ? preview.metadata.title : name}
|
||||
|
Loading…
Reference in New Issue
Block a user