mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-28 03:08:30 +00:00
Indent small enhancements
This commit is contained in:
parent
9cff1868d2
commit
8c4d68f49c
@ -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>
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user