From ce7f02409c7e34b666fb6686dfc46ed171e4826a Mon Sep 17 00:00:00 2001 From: dohyeons Date: Thu, 23 Oct 2025 12:59:45 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BB=AC=EB=9F=BC=20=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EC=9A=94=EC=86=8C=20=EB=93=9C=EB=9E=98=EA=B1=B0=EB=B8=94=20?= =?UTF-8?q?=EC=86=8D=EC=84=B1=20=EB=B2=94=EC=9C=84=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../list-widget/UnifiedColumnEditor.tsx | 26 +++++++++++-------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/frontend/components/admin/dashboard/widgets/list-widget/UnifiedColumnEditor.tsx b/frontend/components/admin/dashboard/widgets/list-widget/UnifiedColumnEditor.tsx index 53eb30b9..2ddaafdc 100644 --- a/frontend/components/admin/dashboard/widgets/list-widget/UnifiedColumnEditor.tsx +++ b/frontend/components/admin/dashboard/widgets/list-widget/UnifiedColumnEditor.tsx @@ -119,22 +119,13 @@ export function UnifiedColumnEditor({ queryResult, config, onConfigChange }: Uni return (
{ - handleDragStart(index); - e.currentTarget.style.cursor = "grabbing"; - }} onDragOver={(e) => handleDragOver(e, index)} onDrop={handleDrop} - onDragEnd={(e) => { - handleDragEnd(); - e.currentTarget.style.cursor = "grab"; - }} className={`group relative rounded-md border transition-all ${ col.visible ? "border-primary/40 bg-primary/5 shadow-sm" : "border-gray-200 bg-white hover:border-gray-300 hover:shadow-sm" - } cursor-grab active:cursor-grabbing ${draggedIndex === index ? "scale-95 opacity-50" : ""}`} + } ${draggedIndex === index ? "scale-95 opacity-50" : ""}`} > {/* 헤더 */}
@@ -143,7 +134,20 @@ export function UnifiedColumnEditor({ queryResult, config, onConfigChange }: Uni onCheckedChange={() => handleToggle(col.id)} className="data-[state=checked]:bg-primary data-[state=checked]:border-primary h-4 w-4 shrink-0 rounded-full" /> - +
{ + handleDragStart(index); + e.currentTarget.style.cursor = "grabbing"; + }} + onDragEnd={(e) => { + handleDragEnd(); + e.currentTarget.style.cursor = "grab"; + }} + className="cursor-grab active:cursor-grabbing" + > + +