make node body draggable

This commit is contained in:
2026-03-31 21:23:34 -07:00
parent 6dfed26b69
commit 75167454d0

View File

@@ -165,7 +165,7 @@ function GroupNode({ id, data }) {
</div> </div>
</div> </div>
<div className="node-body"> <div className="node-body drag-handle">
{collapsed ? ( {collapsed ? (
<> <>
{Array.from({ length: maxRows }, (_, index) => { {Array.from({ length: maxRows }, (_, index) => {
@@ -1192,7 +1192,7 @@ function CustomNode({ id, data }) {
{headerMeta && <span className="node-title-meta" title={headerMeta}>{headerMeta}</span>} {headerMeta && <span className="node-title-meta" title={headerMeta}>{headerMeta}</span>}
</div> </div>
<div className="node-body"> <div className="node-body drag-handle">
{topWidgets.length > 0 && ( {topWidgets.length > 0 && (
<div className="top-widget-section"> <div className="top-widget-section">
{topWidgets.map((w) => { {topWidgets.map((w) => {