From 8375a4c48b18c015800afcb5ded08609a00ed87a Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Mon, 13 Aug 2018 14:29:34 +0200 Subject: [PATCH] Fixed paddings --- .../components/wallet/account/summary/Summary.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/js/components/wallet/account/summary/Summary.js b/src/js/components/wallet/account/summary/Summary.js index 655d98ec..3a573ebd 100644 --- a/src/js/components/wallet/account/summary/Summary.js +++ b/src/js/components/wallet/account/summary/Summary.js @@ -1,6 +1,5 @@ /* @flow */ - - +import styled from 'styled-components'; import React, { Component } from 'react'; import { H2 } from '~/js/components/common/Heading'; import BigNumber from 'bignumber.js'; @@ -17,6 +16,10 @@ import * as stateUtils from '~/js/reducers/utils'; import type { Props } from './index'; import type { NetworkToken } from '~/js/reducers/LocalStorageReducer'; +const StyledH2 = styled(H2)` + padding: 20px 48px; +`; + const Summary = (props: Props) => { const device = props.wallet.selectedDevice; const { @@ -41,10 +44,10 @@ const Summary = (props: Props) => { return (
-

+ Account #{ parseInt(account.index) + 1 } See full transaction history -

+ { onToggle={props.onDetailsToggle} /> -

+ Tokens } @@ -65,7 +68,7 @@ const Summary = (props: Props) => { > -

+ {/* 0x58cda554935e4a1f2acbe15f8757400af275e084 Lahod */} {/* 0x58cda554935e4a1f2acbe15f8757400af275e084 T01 */}