fixed aspect ratio display issue of photo
This commit is contained in:
parent
03c0ae526f
commit
69f3906174
1 changed files with 4 additions and 2 deletions
|
@ -41,8 +41,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.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;
|
||||||
|
@ -141,4 +141,6 @@
|
||||||
|
|
||||||
.slider-zoom-container {
|
.slider-zoom-container {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
max-height: 100%!important;
|
||||||
|
max-width: 100%!important;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue