diff --git a/src/components/slideshow/style.css b/src/components/slideshow/style.css index fc747cf371..f1fea508d7 100644 --- a/src/components/slideshow/style.css +++ b/src/components/slideshow/style.css @@ -41,12 +41,13 @@ } .swiper-slide-img { - width: 100%; - height: 100%; + max-height: 100%; + max-width: 100%; display: flex; justify-content: center; align-items: center; text-align: center; + margin: auto; } .slideshowButtonIcon { @@ -141,4 +142,6 @@ .slider-zoom-container { margin: auto; + max-height: 100%; + max-width: 100%; }