I'm currently utilizing slick to create an image carousel. Although it's functioning properly, I desire for the center image to scale and be larger than the others. While I've managed to achieve this to some extent, the height of the container remains unchanged when the image scales, causing it to overflow outside the container and not adjust in height correctly. I aim for it to behave similarly to the demo showcased on the center mode page here:
Is there a way to modify the height so that it adjusts accordingly when the image is scaled?