How to make slide take original image size? #607
-
I want slide take original image size instead of viewport size? Can I make it possible? |
Beta Was this translation helpful? Give feedback.
Answered by
davidjerleke
Oct 26, 2023
Replies: 1 comment 1 reply
-
@partridge1307 either set image placeholders or if you are using the latest version you can follow this guide and do this: .embla__slide {
flex: 0 0 auto; /* Adapt slide size to its content */
min-width: 0;
} If you choose the latter, note this:
Best, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
partridge1307
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@partridge1307 either set image placeholders or if you are using the latest version you can follow this guide and do this:
If you choose the latter, note this:
Best,
David