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'
verticalAlign='middle'
color='gray'
title={contact?.status ?? ''}
>
{contact?.status ?? ''}
</RichText>

View File

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