|
|
|
@ -32,7 +32,6 @@ export const DataLinksListItem = ({ link, onEdit, onRemove, index, itemKey }: Da |
|
|
|
|
return ( |
|
|
|
|
<Draggable key={itemKey} draggableId={itemKey} index={index}> |
|
|
|
|
{(provided) => ( |
|
|
|
|
<> |
|
|
|
|
<div |
|
|
|
|
className={cx(styles.wrapper, styles.dragRow)} |
|
|
|
|
ref={provided.innerRef} |
|
|
|
@ -63,7 +62,6 @@ export const DataLinksListItem = ({ link, onEdit, onRemove, index, itemKey }: Da |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</> |
|
|
|
|
)} |
|
|
|
|
</Draggable> |
|
|
|
|
); |
|
|
|
@ -109,6 +107,7 @@ const getDataLinkListItemStyles = (theme: GrafanaTheme2) => { |
|
|
|
|
}), |
|
|
|
|
dragRow: css({ |
|
|
|
|
position: 'relative', |
|
|
|
|
margin: '4px 8px 8px 8px', |
|
|
|
|
}), |
|
|
|
|
icons: css({ |
|
|
|
|
display: 'flex', |
|
|
|
|