-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Carousel] If you put an image into a carousel-item, the whole carousel's height gets resized to the height of the image. #4280
Comments
Would you prefer if you could override the height of the carousel with a plugin option? |
Closed due inactivity. Feel free to reopen it, if it's still necessary. |
same issue. I'm trying to place multiple images inside a single carousel-item and the whole carousel keeps resizing |
Someone found the solution? |
just give the carousel a fixed height with !important, seems like the easiest solution |
Tks @lastnoob ! I will try it |
I am putting images of pages in the carousel and want to view them on maximum size for the screen/device so setting a hard height does not work for me. What would be ideal is to have a "fullSize" option that resizes the carousel to fit the image, making it as large as possible given the constraints of the screen, but does not crop. |
Description
When you add an to the carousel-item it resizes the carousel's height to the image's height. If you edit the image's height it edits the carousel's. I found it impossible to set the height of the carousel, or the carousel-item with css.
Repro Steps
Insert an image into a carousel item.
Or check this Codepen
Screenshots
The text was updated successfully, but these errors were encountered: