mirror of
https://github.com/trezor/trezor-wallet
synced 2025-02-15 09:32:00 +00:00
center watch-only badge
This commit is contained in:
parent
a35c21603b
commit
b91c78a09e
@ -88,6 +88,10 @@ const Col = styled.div`
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
`
|
||||
|
||||
const RightCol = styled(Col)`
|
||||
justify-content: center;
|
||||
`;
|
||||
|
||||
const Badge = styled.div`
|
||||
@ -177,7 +181,7 @@ const AccountMenu = (props: Props) => {
|
||||
</Text>
|
||||
)}
|
||||
</Col>
|
||||
<Col>{account.imported && <Badge>watch-only</Badge>}</Col>
|
||||
<RightCol>{account.imported && <Badge>watch-only</Badge>}</RightCol>
|
||||
</RowAccountWrapper>
|
||||
</Row>
|
||||
</NavLink>
|
||||
|
Loading…
Reference in New Issue
Block a user