1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-02-16 01:52:00 +00:00

center watch-only badge

This commit is contained in:
slowbackspace 2019-04-10 18:09:54 +02:00
parent a35c21603b
commit b91c78a09e

View File

@ -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>