mirror of
https://github.com/strapi/strapi.git
synced 2025-08-07 00:09:23 +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>
|
||||
<Drag />
|
||||
</IconButton>
|
||||
<ChildrenWrapper justifyContent="space-between">
|
||||
<LinkEllipsis minWidth={0} paddingTop={1} paddingBottom={1} paddingRight={4}>
|
||||
<Typography textColor="primary600" ellipsis>
|
||||
{displayedValue}
|
||||
</Typography>
|
||||
</LinkEllipsis>
|
||||
<ChildrenWrapper maxWidth="100%" justifyContent="space-between">
|
||||
<Box minWidth={0} paddingTop={1} paddingBottom={1} paddingRight={4}>
|
||||
<LinkEllipsis>
|
||||
<Typography textColor="primary600" ellipsis>
|
||||
{displayedValue}
|
||||
</Typography>
|
||||
</LinkEllipsis>
|
||||
</Box>
|
||||
{status && (
|
||||
<Status variant={statusColor} showBullet={false} size="S">
|
||||
<Typography fontWeight="bold" textColor={`${statusColor}700`}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user