-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, So, you wish that images would fill all available screen while maintaining image aspect ratio? You could do the other way - set Image : {
fit: 'cover'
} but then overwrite CSS: .has-image[data-image-fit=cover] .fancybox__image {
object-fit: contain !important;
} |
Beta Was this translation helpful? Give feedback.
Hi,
So, you wish that images would fill all available screen while maintaining image aspect ratio? You could do the other way - set
but then overwrite CSS:
https://jsfiddle.net/gjf7d6rw/