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