fix linting issues

This commit is contained in:
41666 2021-07-06 14:52:21 -05:00
parent 28bebd531f
commit 75d43d3f97

View file

@ -6,15 +6,22 @@ export const CategoryActions = styled.div<{ right?: boolean }>`
display: flex; display: flex;
flex-direction: row; flex-direction: row;
& > button {
${(props) =>
props.right
? css`
margin-left: 5px;
`
: css`
margin-right: 5px;
`};
}
${(props) => ${(props) =>
props.right && props.right &&
css` css`
justify-content: flex-end; justify-content: flex-end;
`} `}
& > * {
${(props) => (props.right ? 'margin-left' : 'margin-right')}: 5px;
}
`; `;
export const ReorderButton = styled.div` export const ReorderButton = styled.div`