akiran / akiran/react-slick

How to avoid unnecesarry margins in multiple rows

Ouverte
#2,401 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
11.9k
Forks
2.1k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.