akiran / akiran/react-slick

How to avoid unnecesarry margins in multiple rows

Đang mở
#2,401 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
11.9k
Fork
2.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.