From 8c4d68f49c6cb9eb2b7f0d9076ea7188e42bf6de Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Fri, 17 Aug 2018 12:39:15 +0200 Subject: [PATCH] Indent small enhancements --- .../LeftNavigation/components/Row/index.js | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/src/js/views/Wallet/components/LeftNavigation/components/Row/index.js b/src/js/views/Wallet/components/LeftNavigation/components/Row/index.js index 5a8598f8..c0f27b06 100644 --- a/src/js/views/Wallet/components/LeftNavigation/components/Row/index.js +++ b/src/js/views/Wallet/components/LeftNavigation/components/Row/index.js @@ -6,26 +6,22 @@ import { TRANSITION_TIME } from 'config/variables'; const Wrapper = styled.div` height: 100%; - display: flex; flex-direction: row; align-items: center; justify-content: space-between; + cursor: pointer; + transition: background-color ${TRANSITION_TIME.BASE}, color ${TRANSITION_TIME.BASE}; + ${props => props.column && css` flex-direction: column; align-items: flex-start; `} - - cursor: pointer; - transition: background-color ${TRANSITION_TIME.BASE}, color ${TRANSITION_TIME.BASE}; `; -const Row = ({ - children, column = false, -}) => ( - {children} +const Row = ({ children, column = false }) => ( + + {children} );