fix: centered columns in funnel dnd for mobile

This commit is contained in:
2025-08-17 19:35:21 +04:00
parent e5e87f775d
commit 3ccebeb123
4 changed files with 14 additions and 9 deletions

View File

@ -109,7 +109,8 @@ const FunnelDnd = <
<Swiper
ref={swiperRef}
className={classes["swiper-container"]}
slidesPerView={1.2}
slidesPerView={1.1}
style={{ paddingLeft: "10vw", paddingRight: "2vw" }}
modules={[Pagination]}
freeMode={{ enabled: false }}
pagination={{ enabled: true, clickable: true }}>

View File

@ -21,6 +21,7 @@ const DragHandle = ({ id, children, style, disabled }: Props) => {
style={{
width: "100wv",
cursor: disabled ? "default" : "grab",
touchAction: "auto",
...style,
}}
className={disabled ? "" : "swiper-no-swiping"}