Carousel plugin dont save aspect ratio of images #21658

Open
dmitry-git opened this Issue Jan 11, 2017 · 1 comment

Projects

None yet

2 participants

@dmitry-git

Carousel plugin dont save aspect ratio of images when container (.carousel-item.active, .carousel-item-next, .carousel-item-prev) width < image width.

OS: Windows 10,
Brousers: Chrome (55.0.2883.87 m 64-bit), Opera (42.0.2393.94), Edge.

jsfiddle - a link to the reduced test case

@dmitry-git

Problem with CSS3 "display: flex;"

I used this style to fix it:

        .carousel-item.active,
        .carousel-item-next,
        .carousel-item-prev {
            display: block;
        }

But it is no CSS3 FLEX :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment