How do you style pagination?
mxmzb opened this issue · 2 comments
mxmzb commented
I can style pagination to some extent via :global()
selector, but how can I target the current dot?
antony commented
@mxmzb right now, we don't differentiate between the current dot, and all the other dots.
https://github.com/beyonk-adventures/svelte-carousel/blob/master/src/Carousel.svelte#L60
It would be possible I believe, by creating a small PR to track which dot was the currrent one, and maybe adding a class to it.
mxmzb commented
Silly me! I'll jump on it right away! 🤙
… On Feb 19, 2020, at 5:26 PM, Antony Jones ***@***.***> wrote:
@mxmzb right now, we don't differentiate between the current dot, and all the other dots.
https://github.com/beyonk-adventures/svelte-carousel/blob/master/src/Carousel.svelte#L60
It would be possible I believe, by creating a small PR to track which dot was the currrent one, and maybe adding a class to it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.