mirror of
https://github.com/strapi/strapi.git
synced 2025-11-07 05:38:13 +00:00
chore: fix alignment of tags
This commit is contained in:
parent
e26dbe6029
commit
5fb4c10a40
@ -19,6 +19,12 @@ const StackWrapper = styled(Stack)`
|
|||||||
min-width: 0;
|
min-width: 0;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
const ChildrenWrapper = styled(Flex)`
|
||||||
|
width: 100%;
|
||||||
|
/* Used to prevent endAction to be pushed out of container */
|
||||||
|
min-width: 0;
|
||||||
|
`;
|
||||||
|
|
||||||
const RELATION_ITEM_DRAG_TYPE = 'RelationItem';
|
const RELATION_ITEM_DRAG_TYPE = 'RelationItem';
|
||||||
|
|
||||||
export const RelationItem = ({
|
export const RelationItem = ({
|
||||||
@ -202,7 +208,7 @@ export const RelationItem = ({
|
|||||||
<Drag />
|
<Drag />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : null}
|
) : null}
|
||||||
{children}
|
<ChildrenWrapper justifyContent="space-between">{children}</ChildrenWrapper>
|
||||||
</StackWrapper>
|
</StackWrapper>
|
||||||
{endAction && <Box paddingLeft={4}>{endAction}</Box>}
|
{endAction && <Box paddingLeft={4}>{endAction}</Box>}
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user