fix: fixed columns draggables and styles

This commit is contained in:
2025-08-17 10:38:28 +04:00
parent 4ff663536e
commit c405c802aa
14 changed files with 188 additions and 93 deletions

View File

@ -18,6 +18,7 @@ import useDndSensors from "@/app/deals/hooks/useSensors";
import { SortableOverlay } from "@/components/dnd/SortableDnd/SortableOverlay";
import SortableItem from "@/components/dnd/SortableItem";
import { getNewLexorank, sortByLexorank } from "@/utils/lexorank";
import classes from "./SortableDnd.module.css";
type BaseItem = {
id: number;
@ -112,6 +113,7 @@ const SortableDnd = <T extends BaseItem>({
enabled: true,
sensitivity: 0.2,
}}
className={classes["swiper-container"]}
style={containerStyle}
direction={vertical ? "vertical" : "horizontal"}
freeMode={{ enabled: true }}