mirror of
https://github.com/strapi/strapi.git
synced 2025-09-22 23:09:47 +00:00
Fix spacing for multiple relations
Signed-off-by: soupette <cyril@strapi.io>
This commit is contained in:
parent
9f8efd09cd
commit
fc9de3f160
@ -15,7 +15,6 @@ import { getTrad } from '../../utils';
|
|||||||
const StyledBullet = styled.div`
|
const StyledBullet = styled.div`
|
||||||
width: ${pxToRem(6)};
|
width: ${pxToRem(6)};
|
||||||
height: ${pxToRem(6)};
|
height: ${pxToRem(6)};
|
||||||
margin-right: ${({ theme }) => theme.spaces[2]};
|
|
||||||
background: ${({ theme, isDraft }) => theme.colors[isDraft ? 'secondary600' : 'success600']};
|
background: ${({ theme, isDraft }) => theme.colors[isDraft ? 'secondary600' : 'success600']};
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -60,7 +59,7 @@ function ListItem({
|
|||||||
<Flex as="li" alignItems="center">
|
<Flex as="li" alignItems="center">
|
||||||
<Flex style={{ flex: 1 }} alignItems="center">
|
<Flex style={{ flex: 1 }} alignItems="center">
|
||||||
{hasDraftAndPublish && (
|
{hasDraftAndPublish && (
|
||||||
<Box paddingLeft={1} paddingRight={2}>
|
<Box paddingRight={2}>
|
||||||
<StyledBullet isDraft={isDraft} title={title} />
|
<StyledBullet isDraft={isDraft} title={title} />
|
||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user