mirror of
https://github.com/strapi/strapi.git
synced 2025-08-10 09:47:46 +00:00
Merge pull request #15459 from strapi/fix/relations-with-long-names-shouldnt-break-drag-preview
This commit is contained in:
commit
09d05be44c
@ -43,12 +43,14 @@ export const RelationDragPreview = ({ status, displayedValue, width }) => {
|
|||||||
<IconButton noBorder>
|
<IconButton noBorder>
|
||||||
<Drag />
|
<Drag />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
<ChildrenWrapper justifyContent="space-between">
|
<ChildrenWrapper maxWidth="100%" justifyContent="space-between">
|
||||||
<LinkEllipsis minWidth={0} paddingTop={1} paddingBottom={1} paddingRight={4}>
|
<Box minWidth={0} paddingTop={1} paddingBottom={1} paddingRight={4}>
|
||||||
|
<LinkEllipsis>
|
||||||
<Typography textColor="primary600" ellipsis>
|
<Typography textColor="primary600" ellipsis>
|
||||||
{displayedValue}
|
{displayedValue}
|
||||||
</Typography>
|
</Typography>
|
||||||
</LinkEllipsis>
|
</LinkEllipsis>
|
||||||
|
</Box>
|
||||||
{status && (
|
{status && (
|
||||||
<Status variant={statusColor} showBullet={false} size="S">
|
<Status variant={statusColor} showBullet={false} size="S">
|
||||||
<Typography fontWeight="bold" textColor={`${statusColor}700`}>
|
<Typography fontWeight="bold" textColor={`${statusColor}700`}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user