ismail9k / vue3-carousel

Vue 3 carousel component
https://ismail9k.github.io/vue3-carousel/
MIT License
653 stars 162 forks source link

How can i add gap and padding to the slides? #330

Open paul-cylix opened 8 months ago

paul-cylix commented 8 months ago

Is your feature request related to a problem? Please describe. The problem is, when i put my custom component in the slides, the design of the card isn't looking good.

Describe the solution you'd like i need to add a gap between cards, also i need to add padding to the slide wrapper,

Describe alternatives you've considered you can add margin right but don't to it to the last item.

Additional context I attached img, i hope it helps. carsel

paul-cylix commented 8 months ago

i am using the #Breakpoints here

MarkMadison commented 8 months ago

Ideally a vue prop which interacted with the carousel__track to use the css property gap (but which was also factored into the slide display calculations) as applying it directly with css breaks the start/stop positions.

jshrssll commented 3 months ago

Anyone find a solution for this?

wobsoriano commented 1 month ago

I just add padding to the Carousel component