akiran / akiran/react-slick

[doc] state explicitly that a container with padding is required

Đang mở
#1,667 1 bình luận 2 reaction 0 người được giao Xem trên GitHub
docs
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ả

I was following the example on https://react-slick.neostack.com/
Turns out that margin is required on the slides to render the arrows and on the bottom to render the dots. There's no mention of it in the docs.
I have to inspect the DOM to find this out, both on the documentation page and example (https://codesandbox.io/s/ppwkk5l6xx).
It'll help those who haven't used jQuery slick a lot if this is stated in the docs.

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.