mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
display series image when episodes have no image
This commit is contained in:
parent
672f3f4e85
commit
5ea7aaa406
3 changed files with 14 additions and 2 deletions
|
@ -291,6 +291,8 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
|
|||
|
||||
.detailImageContainer {
|
||||
margin-right: 2em;
|
||||
width: 280px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.detailPagePrimaryContent {
|
||||
|
@ -325,10 +327,10 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
|
|||
|
||||
.itemDetailImage {
|
||||
border: solid 1px transparent;
|
||||
width: 280px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.thumbDetailImageContainer .itemDetailImage {
|
||||
.thumbDetailImageContainer {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
|
@ -355,6 +357,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
|
|||
position: absolute;
|
||||
top: -90px;
|
||||
left: 5%;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.itemDetailImage {
|
||||
|
|
|
@ -89,6 +89,7 @@ h1, h2, h3 {
|
|||
h1 {
|
||||
font-weight: normal !important;
|
||||
opacity: .7;
|
||||
font-size: 1.72em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
|
|
|
@ -801,6 +801,14 @@
|
|||
});
|
||||
shape = 'square';
|
||||
}
|
||||
else if (item.SeriesId && item.SeriesPrimaryImageTag) {
|
||||
|
||||
url = ApiClient.getScaledImageUrl(item.SeriesId, {
|
||||
type: "Primary",
|
||||
maxHeight: imageHeight,
|
||||
tag: item.SeriesPrimaryImageTag
|
||||
});
|
||||
}
|
||||
|
||||
html += '<div style="position:relative;">';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue