1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-22 14:00:58 +00:00

fix walleticon

This commit is contained in:
slowbackspace 2019-03-28 17:33:33 +01:00
parent a197186f48
commit 090fd8226d

View File

@ -32,6 +32,11 @@ const DeviceIconWrapper = styled.div`
margin: 0 3px; margin: 0 3px;
`; `;
const WalletIconWrapper = styled.div`
padding-bottom: 1px;
margin: 0 3px;
`;
const Counter = styled.div` const Counter = styled.div`
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -308,7 +313,7 @@ class LeftNavigation extends React.PureComponent<Props, State> {
placement="bottom" placement="bottom"
delay={500} delay={500}
> >
<DeviceIconWrapper> <WalletIconWrapper>
<WalletTypeIcon <WalletTypeIcon
onClick={e => { onClick={e => {
if (selectedDevice && isDeviceReady) { if (selectedDevice && isDeviceReady) {
@ -325,7 +330,7 @@ class LeftNavigation extends React.PureComponent<Props, State> {
size={16} size={16}
color={colors.TEXT_SECONDARY} color={colors.TEXT_SECONDARY}
/> />
</DeviceIconWrapper> </WalletIconWrapper>
</Tooltip> </Tooltip>
)} )}
{this.props.devices.length > 1 && ( {this.props.devices.length > 1 && (