Replies: 1 comment
-
Hi, The simplest solution would be to use CSS to fill slides with image, something like this: img {
width: 100%;
height: 100%;
object-fit: cover;
} You could also set different width for each slide element (using CSS). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
My carousel is loaded with images that have different widths but this leaves a large gap in between images because the carousel__slide class has a fixed with.
Does anyone know a way around this?
Beta Was this translation helpful? Give feedback.
All reactions