landscape: add title attr for statuses

Fixes urbit/landscape#505
This commit is contained in:
Matilde Park 2021-03-23 14:35:36 -04:00
parent 433cca528d
commit bc52f653cd
2 changed files with 3 additions and 1 deletions

View File

@ -112,6 +112,7 @@ export function ProfileStatus(props: any): ReactElement {
display='inline-block' display='inline-block'
verticalAlign='middle' verticalAlign='middle'
color='gray' color='gray'
title={contact?.status ?? ''}
> >
{contact?.status ?? ''} {contact?.status ?? ''}
</RichText> </RichText>

View File

@ -176,8 +176,9 @@ const ProfileOverlay = (props: ProfileOverlayProps) => {
marginBottom='0' marginBottom='0'
disableRemoteContent disableRemoteContent
gray gray
title={contact?.status ?? ''}
> >
{contact?.status ? contact.status : ''} {contact?.status ?? ''}
</RichText> </RichText>
)} )}
</Col> </Col>