same height DeviceImage

pull/460/head
slowbackspace 5 years ago
parent d7b8c5262b
commit 95b562c76c

@ -91,9 +91,6 @@ const Dot = styled.div`
height: 10px;
`;
const StyledTrezorImage = styled(TrezorImage)`
width: ${props => (props.model === 2 ? '17px' : '13px')};
`;
const DeviceHeader = ({
isOpen,
@ -120,7 +117,8 @@ const DeviceHeader = ({
>
<ImageWrapper>
<Dot color={getStatusColor(status)} />
<StyledTrezorImage
<TrezorImage
height={28}
model={(device.features && device.features.major_version) || 1}
/>
</ImageWrapper>

@ -40,10 +40,10 @@ const Label = styled.div`
`;
const IconWrapper = styled.div`
width: 14px;
width: 18px;
display: flex;
justify-content: center;
margin-right: 20px;
margin-right: 15px;
`;
class MenuItems extends PureComponent {

Loading…
Cancel
Save