antoniandre / vueper-slides

A touch ready and responsive slideshow / carousel for Vue 2 & 3.
https://antoniandre.github.io/vueper-slides
MIT License
568 stars 50 forks source link

change the size of image in responsive #161

Closed ludogou closed 2 years ago

ludogou commented 3 years ago

Hi ! how can i change the size of the images when the slider is displayed on mobile ?

antoniandre commented 2 years ago

Hi, sorry for late reply. You should just use the slide-ratio prop and it will adjust the size automatically to available space, keeping the ratio. Alternatively, you can set a fixed-height, or even put the slide-image-inside and style it yourself to apply custom constraints. Everything is in the documentation with lots of examples.