1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-30 12:18:09 +00:00

Merge pull request #496 from trezor/fix/tuc-fixes

Fix device icon size in passpgrase type modal
This commit is contained in:
Vladimir Volek 2019-04-10 11:47:22 +02:00 committed by GitHub
commit 2e0e930ab4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.