Merge pull request #1168 from sarab97/zoomfix
fixed aspect ratio display issue of photo
This commit is contained in:
@@ -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%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user