mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
ensure correct image tag is used
This commit is contained in:
parent
5d13610ade
commit
869219b997
2 changed files with 9 additions and 2 deletions
|
@ -167,7 +167,7 @@
|
||||||
|
|
||||||
@media all and (min-width: 650px) {
|
@media all and (min-width: 650px) {
|
||||||
.libraryPage .ui-content {
|
.libraryPage .ui-content {
|
||||||
padding: 10px 20px 100px;
|
padding: 0 20px 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.viewControls, .listTopPaging {
|
.viewControls, .listTopPaging {
|
||||||
|
|
|
@ -379,7 +379,14 @@
|
||||||
|
|
||||||
if (type == 'Backdrop') {
|
if (type == 'Backdrop') {
|
||||||
options.tag = item.BackdropImageTags[index];
|
options.tag = item.BackdropImageTags[index];
|
||||||
} else {
|
}
|
||||||
|
else if (type == 'Screenshot') {
|
||||||
|
options.tag = item.ScreenshotImageTags[index];
|
||||||
|
}
|
||||||
|
else if (type == 'Primary') {
|
||||||
|
options.tag = item.PrimaryImageTag || item.ImageTags[type];
|
||||||
|
}
|
||||||
|
else {
|
||||||
options.tag = item.ImageTags[type];
|
options.tag = item.ImageTags[type];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue