Fix spacing for multiple relations

Signed-off-by: soupette <cyril@strapi.io>
This commit is contained in:
soupette 2021-11-10 10:06:48 +01:00
parent 9f8efd09cd
commit fc9de3f160

View File

@ -15,7 +15,6 @@ import { getTrad } from '../../utils';
const StyledBullet = styled.div`
width: ${pxToRem(6)};
height: ${pxToRem(6)};
margin-right: ${({ theme }) => theme.spaces[2]};
background: ${({ theme, isDraft }) => theme.colors[isDraft ? 'secondary600' : 'success600']};
border-radius: 50%;
cursor: pointer;
@ -60,7 +59,7 @@ function ListItem({
<Flex as="li" alignItems="center">
<Flex style={{ flex: 1 }} alignItems="center">
{hasDraftAndPublish && (
<Box paddingLeft={1} paddingRight={2}>
<Box paddingRight={2}>
<StyledBullet isDraft={isDraft} title={title} />
</Box>
)}