From f94e24dd3db0b52e74b41821b8f121bb38021431 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Thu, 14 Jun 2018 09:50:35 +0200 Subject: [PATCH] Fix bottom padding Default to not force a padding to allow inner to do --- src/components/OperationsList/index.js | 4 ++-- src/components/layout/Default.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/OperationsList/index.js b/src/components/OperationsList/index.js index 6441eef1..92aacc4d 100644 --- a/src/components/OperationsList/index.js +++ b/src/components/OperationsList/index.js @@ -36,7 +36,7 @@ const ShowMore = styled(Box).attrs({ fontSize: 3, justify: 'center', align: 'center', - p: 4, + p: 6, color: 'wallet', })` cursor: pointer; @@ -135,7 +135,7 @@ export class OperationsList extends PureComponent { ) : ( - + {t('app:operationList.noMoreOperations')} diff --git a/src/components/layout/Default.js b/src/components/layout/Default.js index 486690fb..6ff41afe 100644 --- a/src/components/layout/Default.js +++ b/src/components/layout/Default.js @@ -23,8 +23,8 @@ import IsUnlocked from 'components/IsUnlocked' import SideBar from 'components/MainSideBar' import TopBar from 'components/TopBar' -const Container = styled(GrowScroll).attrs({ - p: 6, +const Main = styled(GrowScroll).attrs({ + px: 6, })` outline: none; padding-top: ${p => p.theme.sizes.topBarHeight + p.theme.space[7]}px; @@ -76,13 +76,13 @@ class Default extends Component { - (this._scrollContainer = n)} tabIndex={-1}> +
(this._scrollContainer = n)} tabIndex={-1}> - +