maxmarinich/react-alice-carousel

Is there a way to place marginX between elements on autoWidth=true?

Opened this issue · 1 comments

Autowidth works very well, the problem is that is necessary either create a responsive carrousel using the responsive object or put margin manually on alice-carrousel li item.

li {
    margin: 0 15px !important;
}

This creates proper spacing but breaks the carousel's scroll calculations - the last items become inaccessible because the maximum scroll position is reached too early.
Is there a way to achieve proper item spacing while maintaining both autoWidth functionality and correct scroll behavior?

Hi, @brenodss!
Provide the code sample.