1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-27 10:48:22 +00:00

fix device icon size in passpgrase type modal

This commit is contained in:
slowbackspace 2019-04-10 10:55:39 +02:00
parent 50767c77c3
commit 5821f47752

View File

@ -18,12 +18,16 @@ const Wrapper = styled.div`
padding: 30px 48px; padding: 30px 48px;
`; `;
const StyledDeviceIcon = styled(DeviceIcon)`
margin-bottom: 10px;
`;
const Header = styled.div``; const Header = styled.div``;
const PassphraseType = (props: Props) => ( const PassphraseType = (props: Props) => (
<Wrapper> <Wrapper>
<Header> <Header>
<DeviceIcon device={props.device} size={60} color={colors.TEXT_SECONDARY} /> <StyledDeviceIcon device={props.device} size={32} color={colors.TEXT_SECONDARY} />
<H5>Complete the action on {props.device.label} device</H5> <H5>Complete the action on {props.device.label} device</H5>
<P size="small"> <P size="small">
If you enter a wrong passphrase, you will not unlock the desired hidden wallet. If you enter a wrong passphrase, you will not unlock the desired hidden wallet.