mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39: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;
|
||||
flex-direction: row;
|
||||
|
||||
& > button {
|
||||
${(props) =>
|
||||
props.right
|
||||
? css`
|
||||
margin-left: 5px;
|
||||
`
|
||||
: css`
|
||||
margin-right: 5px;
|
||||
`};
|
||||
}
|
||||
|
||||
${(props) =>
|
||||
props.right &&
|
||||
css`
|
||||
justify-content: flex-end;
|
||||
`}
|
||||
|
||||
& > * {
|
||||
${(props) => (props.right ? 'margin-left' : 'margin-right')}: 5px;
|
||||
}
|
||||
`;
|
||||
|
||||
export const ReorderButton = styled.div`
|
||||
|
|
Loading…
Add table
Reference in a new issue