mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #1168 from sarab97/zoomfix
fixed aspect ratio display issue of photo
This commit is contained in:
commit
d04f7e97bd
1 changed files with 5 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue