mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 11:59:11 +00:00
fix linting issues
This commit is contained in:
parent
28bebd531f
commit
75d43d3f97
1 changed files with 11 additions and 4 deletions
|
@ -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`
|
||||||
|
|
Loading…
Add table
Reference in a new issue