From 94e5ccbf37f46ba253c1e6a5585099077476de97 Mon Sep 17 00:00:00 2001 From: gunshiz Date: Fri, 4 Sep 2026 11:01:35 +0700 Subject: [PATCH] fix(artifact-admin) : make talent dnd responsive --- components/admin/guide-section-editor.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/admin/guide-section-editor.tsx b/components/admin/guide-section-editor.tsx index 99d618e..8d7abf1 100644 --- a/components/admin/guide-section-editor.tsx +++ b/components/admin/guide-section-editor.tsx @@ -29,7 +29,7 @@ import { } from "@dnd-kit/core"; import { arrayMove, - horizontalListSortingStrategy, + rectSortingStrategy, SortableContext, sortableKeyboardCoordinates, useSortable, @@ -513,7 +513,7 @@ function SortableTalentCard({
@@ -1640,9 +1640,9 @@ function ArtifactEditor({ > talent.type)} - strategy={horizontalListSortingStrategy} + strategy={rectSortingStrategy} > -
+
{orderedTalents.map((talent, index) => { const catalogTalent = catalogTalents.find( (item) => item.type === talent.type, @@ -1650,7 +1650,7 @@ function ArtifactEditor({ return (