mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix for critic rating not showing
This commit is contained in:
parent
a787772df7
commit
89ebf2744e
2 changed files with 10 additions and 7 deletions
|
@ -175,7 +175,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.rottentomatoesicon {
|
.rottentomatoesicon {
|
||||||
margin-left: 1em;
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 17px;
|
width: 17px;
|
||||||
height: 17px;
|
height: 17px;
|
||||||
|
@ -185,6 +184,10 @@
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.starRating + .rottentomatoesicon {
|
||||||
|
margin-left: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
.fresh {
|
.fresh {
|
||||||
background-image: url(images/fresh.png);
|
background-image: url(images/fresh.png);
|
||||||
}
|
}
|
||||||
|
@ -347,11 +350,11 @@ a.itemTag:hover {
|
||||||
margin-top: -30px;
|
margin-top: -30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.itemDetailGalleryLink img:hover {
|
.itemDetailGalleryLink img:hover {
|
||||||
-moz-box-shadow: 0 0 20px 3px #2572EB;
|
-moz-box-shadow: 0 0 20px 3px #2572EB;
|
||||||
-webkit-box-shadow: 0 0 20px 3px #2572EB;
|
-webkit-box-shadow: 0 0 20px 3px #2572EB;
|
||||||
box-shadow: 0 0 20px 3px #2572EB;
|
box-shadow: 0 0 20px 3px #2572EB;
|
||||||
}
|
}
|
||||||
|
|
||||||
.parentName {
|
.parentName {
|
||||||
padding: .5em;
|
padding: .5em;
|
||||||
|
|
|
@ -156,7 +156,7 @@
|
||||||
|
|
||||||
html += '<div class="tileName">' + name + '</div>';
|
html += '<div class="tileName">' + name + '</div>';
|
||||||
|
|
||||||
if (item.CommunityRating) {
|
if (item.CommunityRating || item.CriticRating) {
|
||||||
html += '<p>' + LibraryBrowser.getRatingHtml(item) + '</p>';
|
html += '<p>' + LibraryBrowser.getRatingHtml(item) + '</p>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue