Merge pull request #1168 from sarab97/zoomfix

fixed aspect ratio display issue of photo
This commit is contained in:
dkanada 2020-05-05 22:46:45 +09:00 committed by GitHub
commit d04f7e97bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,12 +41,13 @@
} }
.swiper-slide-img { .swiper-slide-img {
width: 100%; max-height: 100%;
height: 100%; max-width: 100%;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
text-align: center; text-align: center;
margin: auto;
} }
.slideshowButtonIcon { .slideshowButtonIcon {
@ -141,4 +142,6 @@
.slider-zoom-container { .slider-zoom-container {
margin: auto; margin: auto;
max-height: 100%;
max-width: 100%;
} }