profile: force status to flush right on view

This commit is contained in:
Matilde Park 2021-02-12 16:28:25 -05:00
parent 5b62417e49
commit ec702d43a0

View File

@ -65,8 +65,9 @@ export function Profile(props: any) {
maxWidth="600px" maxWidth="600px"
width="100%"> width="100%">
<Row alignItems="center" justifyContent="space-between"> <Row alignItems="center" justifyContent="space-between">
<Row>
{ship === `~${window.ship}` ? ( {ship === `~${window.ship}` ? (
<Row> <>
<Text <Text
py='2' py='2'
cursor='pointer' cursor='pointer'
@ -80,8 +81,9 @@ export function Profile(props: any) {
ship={`~${window.ship}`} ship={`~${window.ship}`}
contact={contact} contact={contact}
/> />
</Row> </>
) : null} ) : null}
</Row>
<Text maxWidth='18rem' overflowX='hidden' textOverflow="ellipsis" <Text maxWidth='18rem' overflowX='hidden' textOverflow="ellipsis"
whiteSpace="nowrap" whiteSpace="nowrap"
overflow="hidden" display="inline-block" verticalAlign="middle">{contact?.status ?? ""}</Text> overflow="hidden" display="inline-block" verticalAlign="middle">{contact?.status ?? ""}</Text>