fix: fixed columns draggables and styles
This commit is contained in:
@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user