From fc659db337b2ae2b7530523c385482f8fc410732 Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Fri, 31 Aug 2018 21:23:29 +0200 Subject: [PATCH] Refactored send confirm dialog --- .../modals/confirm/Address/index.js | 38 ++++++++++--------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/src/components/modals/confirm/Address/index.js b/src/components/modals/confirm/Address/index.js index ce626394..0c562333 100644 --- a/src/components/modals/confirm/Address/index.js +++ b/src/components/modals/confirm/Address/index.js @@ -1,14 +1,16 @@ -/* @flow */ -import React, { Component } from 'react'; - -import { findAccount } from 'reducers/AccountsReducer'; +import styled from 'styled-components'; +import H3 from 'components/Heading'; +import colors from 'config/colors'; +import P from 'components/Paragraph'; +import { FONT_SIZE } from 'config/variables'; +import React from 'react'; const Wrapper = styled.div` - width: 370px; - padding: 24px 48px; + width: 390px; `; const Header = styled.div` + padding: 24px 48px; `; const Content = styled.div` @@ -18,11 +20,11 @@ const Content = styled.div` `; const Label = styled.div` - font-size: 10px; + font-size: ${FONT_SIZE.SMALLER}; color: ${colors.TEXT_SECONDARY}; `; -const ConfirmAddress = (props: Props) => { +const ConfirmAddress = (props) => { const { account, network, @@ -30,16 +32,16 @@ const ConfirmAddress = (props: Props) => { if (!account || !network) return null; return ( -
-
-

Confirm address on TREZOR

-

Please compare your address on device with address shown bellow.

-
-
-

{ account.address }

- -
-
+ +
+

Confirm address on TREZOR

+

Please compare your address on device with address shown bellow.

+
+ +

{ account.address }

+ +
+
); };