fix for critic rating not showing

This commit is contained in:
Luke Pulverenti 2013-06-05 00:01:22 -04:00
parent a787772df7
commit 89ebf2744e
2 changed files with 10 additions and 7 deletions

View File

@ -175,7 +175,6 @@
}
.rottentomatoesicon {
margin-left: 1em;
display: inline-block;
width: 17px;
height: 17px;
@ -185,6 +184,10 @@
vertical-align: top;
}
.starRating + .rottentomatoesicon {
margin-left: 1em;
}
.fresh {
background-image: url(images/fresh.png);
}
@ -347,11 +350,11 @@ a.itemTag:hover {
margin-top: -30px;
}
.itemDetailGalleryLink img:hover {
-moz-box-shadow: 0 0 20px 3px #2572EB;
-webkit-box-shadow: 0 0 20px 3px #2572EB;
box-shadow: 0 0 20px 3px #2572EB;
}
.itemDetailGalleryLink img:hover {
-moz-box-shadow: 0 0 20px 3px #2572EB;
-webkit-box-shadow: 0 0 20px 3px #2572EB;
box-shadow: 0 0 20px 3px #2572EB;
}
.parentName {
padding: .5em;

View File

@ -156,7 +156,7 @@
html += '<div class="tileName">' + name + '</div>';
if (item.CommunityRating) {
if (item.CommunityRating || item.CriticRating) {
html += '<p>' + LibraryBrowser.getRatingHtml(item) + '</p>';
}