mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixes #1422 - photo scaling
This commit is contained in:
parent
13cac8ed2f
commit
d1b9d2a1bb
2 changed files with 8 additions and 1 deletions
|
@ -2126,6 +2126,9 @@
|
|||
|
||||
if (coverImage) {
|
||||
imageCssClass += " coveredCardImage";
|
||||
if (item.MediaType == 'Photo' || item.Type == 'PhotoAlbum' || item.Type == 'Folder') {
|
||||
imageCssClass += " noScale";
|
||||
}
|
||||
}
|
||||
if (options.centerImage) {
|
||||
imageCssClass += " centeredCardImage";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue