mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-30 12:18:09 +00:00
same height DeviceImage
This commit is contained in:
parent
d7b8c5262b
commit
95b562c76c
@ -91,9 +91,6 @@ const Dot = styled.div`
|
|||||||
height: 10px;
|
height: 10px;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledTrezorImage = styled(TrezorImage)`
|
|
||||||
width: ${props => (props.model === 2 ? '17px' : '13px')};
|
|
||||||
`;
|
|
||||||
|
|
||||||
const DeviceHeader = ({
|
const DeviceHeader = ({
|
||||||
isOpen,
|
isOpen,
|
||||||
@ -120,7 +117,8 @@ const DeviceHeader = ({
|
|||||||
>
|
>
|
||||||
<ImageWrapper>
|
<ImageWrapper>
|
||||||
<Dot color={getStatusColor(status)} />
|
<Dot color={getStatusColor(status)} />
|
||||||
<StyledTrezorImage
|
<TrezorImage
|
||||||
|
height={28}
|
||||||
model={(device.features && device.features.major_version) || 1}
|
model={(device.features && device.features.major_version) || 1}
|
||||||
/>
|
/>
|
||||||
</ImageWrapper>
|
</ImageWrapper>
|
||||||
|
@ -40,10 +40,10 @@ const Label = styled.div`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const IconWrapper = styled.div`
|
const IconWrapper = styled.div`
|
||||||
width: 14px;
|
width: 18px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-right: 20px;
|
margin-right: 15px;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
class MenuItems extends PureComponent {
|
class MenuItems extends PureComponent {
|
||||||
|
Loading…
Reference in New Issue
Block a user