center watch-only badge

pull/495/head
slowbackspace 5 years ago
parent a35c21603b
commit b91c78a09e

@ -88,6 +88,10 @@ const Col = styled.div`
display: flex; display: flex;
flex: 1; flex: 1;
flex-direction: column; flex-direction: column;
`
const RightCol = styled(Col)`
justify-content: center;
`; `;
const Badge = styled.div` const Badge = styled.div`
@ -177,7 +181,7 @@ const AccountMenu = (props: Props) => {
</Text> </Text>
)} )}
</Col> </Col>
<Col>{account.imported && <Badge>watch-only</Badge>}</Col> <RightCol>{account.imported && <Badge>watch-only</Badge>}</RightCol>
</RowAccountWrapper> </RowAccountWrapper>
</Row> </Row>
</NavLink> </NavLink>

Loading…
Cancel
Save