mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 02:48:19 -07:00
Merge pull request #1168 from sarab97/zoomfix
fixed aspect ratio display issue of photo
This commit is contained in:
commit
d04f7e97bd
@ -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%;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user