From 4ec97ad0030575bd3cb82f32b1312c5e43213f16 Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Fri, 31 Aug 2018 22:26:28 +0200 Subject: [PATCH] Fixed passphrase modal after delete of global styles --- src/components/inputs/PinInput/index.js | 1 + src/components/modals/passphrase/Passphrase/index.js | 5 +++-- src/components/modals/pin/Pin/index.js | 6 ++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/inputs/PinInput/index.js b/src/components/inputs/PinInput/index.js index a271f810..c4290a9a 100644 --- a/src/components/inputs/PinInput/index.js +++ b/src/components/inputs/PinInput/index.js @@ -12,6 +12,7 @@ const Wrapper = styled.div` const StyledInput = styled.input` letter-spacing: 7px; + width: 100%; font-weight: ${FONT_WEIGHT.BIGGER}; font-size: ${FONT_SIZE.BIGGER}; padding: 5px 31px 10px 20px; diff --git a/src/components/modals/passphrase/Passphrase/index.js b/src/components/modals/passphrase/Passphrase/index.js index 7a18d0cd..4948e08e 100644 --- a/src/components/modals/passphrase/Passphrase/index.js +++ b/src/components/modals/passphrase/Passphrase/index.js @@ -15,6 +15,7 @@ import type { Props } from './index'; const Wrapper = styled.div` padding: 24px 48px; + max-width: 390px; `; const Label = styled.div` @@ -272,8 +273,8 @@ export default class PinModal extends Component { console.log('passphraseInputType', passphraseInputType); return ( -

Enter { deviceLabel } passphrase

-

Note that passphrase is case-sensitive.

+ {/* ?

Enter { deviceLabel } passphrase

*/} + {/*

Note that passphrase is case-sensitive.

*/} { return (

Enter { device.label } PIN

-

The PIN layout is displayed on your TREZOR.

+

The PIN layout is displayed on your TREZOR.

this.onPinBackspace()} /> @@ -161,8 +162,9 @@ class Pin extends Component {