akiran / akiran/react-slick

How to avoid unnecesarry margins in multiple rows

Aperta
#2,401 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
11.9k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi!,

I am trying to create multiple row and want the items to use a gap of 16px, I use some padding but I dont want it to be applied to the left and right of the container cos as you can see it is not aligned to the left with the title same thing to the right of the container due to the padding, here what i mean:

![image](https://github.com/user-attachments/assets/4e53b8d2-2668-406f-9a89-83ada76dd215)

Code playground: https://codesandbox.io/p/sandbox/multiple-items-slider-using-react-slick-forked-j97w6f

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.