1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-29 02:18:06 +00:00

Indent small enhancements

This commit is contained in:
Vladimir Volek 2018-08-17 12:39:15 +02:00
parent 9cff1868d2
commit 8c4d68f49c

View File

@ -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,
}) => (
<Wrapper
column={column}
>{children}
const Row = ({ children, column = false }) => (
<Wrapper column={column}>
{children}
</Wrapper>
);