akiran / akiran/react-slick

How to avoid unnecesarry margins in multiple rows

Offen
#2,401 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
11.9k
Forks
2.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.