Closed AmirAmArA closed 8 months ago
Try centering the divs like this maybe
const items = [
<div className="item" align="center" data-value="1">1</div>,
...
];
Or if using Tailwind just use mx-auto
Hi, @AmirAmArA! Use common css.
.item {
margin: auto;
}
it appears that I was using disabling scrolling on the X-axis, which didn't allow me to see what was the full problem,
a simple width property to align with the viewport width solved the problem
width: 100%;
hey there, ive stumblled upon this package , and I am trying to use it but I can't seem to figure out how to center the items of the slider