Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

css grid with gap for spacing between slides #248

Open
netzpixel opened this issue Jun 9, 2022 · 1 comment
Open

css grid with gap for spacing between slides #248

netzpixel opened this issue Jun 9, 2022 · 1 comment

Comments

@netzpixel
Copy link

Please add the option to add a gap value for the spacing between the slides. If I add it myself the width calculation breaks...
I need display grid to have all slides the same height - which works just fine - but adding a padding around each element is not a good solution since the slider is supposed to start at the parent element left/right border and not x px away from it.

@jamik-dev
Copy link

jamik-dev commented Mar 30, 2024

still it's not added, but here is the solution:

<VueSlickCarousel :slidesPerRow="4" :infinite="true" :arrows="true">
   <div v-for="item in 8" :key="item">
     <div class="padding-3">
       <customCartClientReview />
     </div>
   </div>
</VueSlickCarousel>

just wrap parent div and give some padding :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants