akiran / akiran/react-slick

How to avoid unnecesarry margins in multiple rows

Open
#2,401 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
11.9k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.