akiran / akiran/react-slick

Change width of the center slide only

オープン
#2,370 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
11.9k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。