mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
display series image when episodes have no image
This commit is contained in:
parent
672f3f4e85
commit
5ea7aaa406
@ -291,6 +291,8 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
|
|||||||
|
|
||||||
.detailImageContainer {
|
.detailImageContainer {
|
||||||
margin-right: 2em;
|
margin-right: 2em;
|
||||||
|
width: 280px;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.detailPagePrimaryContent {
|
.detailPagePrimaryContent {
|
||||||
@ -325,10 +327,10 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
|
|||||||
|
|
||||||
.itemDetailImage {
|
.itemDetailImage {
|
||||||
border: solid 1px transparent;
|
border: solid 1px transparent;
|
||||||
width: 280px;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.thumbDetailImageContainer .itemDetailImage {
|
.thumbDetailImageContainer {
|
||||||
width: 400px;
|
width: 400px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -355,6 +357,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: -90px;
|
top: -90px;
|
||||||
left: 5%;
|
left: 5%;
|
||||||
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.itemDetailImage {
|
.itemDetailImage {
|
||||||
|
@ -89,6 +89,7 @@ h1, h2, h3 {
|
|||||||
h1 {
|
h1 {
|
||||||
font-weight: normal !important;
|
font-weight: normal !important;
|
||||||
opacity: .7;
|
opacity: .7;
|
||||||
|
font-size: 1.72em;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
|
@ -801,6 +801,14 @@
|
|||||||
});
|
});
|
||||||
shape = 'square';
|
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;">';
|
html += '<div style="position:relative;">';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user