mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Organize fields transformation: Fix re-ordering of fields using drag and drop (#77172)
drag handler as html element
This commit is contained in:
parent
fd5ad38f38
commit
a0dbde5c60
@ -134,13 +134,9 @@ const DraggableFieldName = ({
|
|||||||
<div className="gf-form-inline" ref={provided.innerRef} {...provided.draggableProps}>
|
<div className="gf-form-inline" ref={provided.innerRef} {...provided.draggableProps}>
|
||||||
<div className="gf-form gf-form--grow">
|
<div className="gf-form gf-form--grow">
|
||||||
<div className="gf-form-label gf-form-label--justify-left width-30">
|
<div className="gf-form-label gf-form-label--justify-left width-30">
|
||||||
<Icon
|
<span {...provided.dragHandleProps}>
|
||||||
name="draggabledots"
|
<Icon name="draggabledots" title="Drag and drop to reorder" size="lg" className={styles.draggable} />
|
||||||
title="Drag and drop to reorder"
|
</span>
|
||||||
size="lg"
|
|
||||||
className={styles.draggable}
|
|
||||||
{...provided.dragHandleProps}
|
|
||||||
/>
|
|
||||||
<IconButton
|
<IconButton
|
||||||
className={styles.toggle}
|
className={styles.toggle}
|
||||||
size="md"
|
size="md"
|
||||||
|
Loading…
Reference in New Issue
Block a user