Closed adimchithecreator closed 1 year ago
Any update on this issue pls?
This was how i fixed it, i'm not sure if it's the most conventional way but it works.
<----to set the max-height of the slick-list container---->
.slick-list{ max-height: 14rem ; }
<----to set the max-height of the images in the carousel---->
.slick-list img{ width: 100%; height: 14rem; }
Unfortunately max-height property is not the part of original jQuery plugin from which react-slick is based upon
You can accomplish this with CSS as @adimchithecreator suggested
This is my first time using react slick in my project and i'm unable to set a max height property.
Can anyone help me with this ?