M
M
Maxim Guido2020-05-11 12:07:48
css
Maxim Guido, 2020-05-11 12:07:48

Problems with column heights in slick slider?

Hello. I am suffering for two days with slick slider. There is a container with slides, inside the slides there is a flex container with the contents of the card. The card button is pressed to the bottom so that you can freely change the text without changing the height. I connected the slider, this design broke. I tried to set 100% height to everything that is possible, I have already rewritten all the CSS styles of the slider, but I can’t make it the same height.
It seems that the problem is that the slide itself does not want to accept 100% height, this can be seen in the inspector.
PS The fixed height also does not pull out the card, and it doesn't feel like it.

https://yadi.sk/i/zDd8azaatXhqqg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
iBird Rose, 2020-05-11
@maksguido

.slick-track {
  display: flex;
}
.slick-track .slick-slide {
  display: flex;
  height: auto;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question