Carousel: keep all carousel items adjacent when loop and navigation is on #1597
diegovogel
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using
<sl-carousel>
withloop
, it copies a couple of the slides and appends them at the end of<sl-carousel>
. If you also havenavigation
on, the copied slides are appended after the nav icons.It would be nice if all the slides were kept next to each other, instead of being separated by the icons. That would make styling certain things easier.
For example: I have three slides in view and I want the middle one to be highlighted. I can use sibling selectors in CSS to do this, but it breaks when I reach the end of the slides because the icons are separating the slides that are in view.
Beta Was this translation helpful? Give feedback.
All reactions