akiran / akiran/react-slick

Change width of the center slide only

Aperta
#2,370 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
11.9k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently I am trying to implement a carousel where the center slide widens to show more content. However at the moment it just doesn't seem to center properly. Here is a sample [https://codesandbox.io/p/sandbox/react-slick-center-whnkj5?file=%2Fsrc%2FApp.tsx](sandbox) of the issue.

Specifically I am trying to have my non-centered slides show a portrait image and once its centered it expands to show more content. Something like this:

![image](https://github.com/akiran/react-slick/assets/47728893/2c574fdb-b816-483f-adbd-158463553b9c)

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.