diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index b7ab994e0d..f64002755d 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -373,7 +373,7 @@ a.itemTag:hover { left: .8em; } -.itemCommunityRating + .userDataIcons { +.itemCommunityRating:not(:empty) + .userDataIcons { margin-left: 1.25em; } diff --git a/dashboard-ui/itemdetails.html b/dashboard-ui/itemdetails.html index 2f1f8c088d..aff0927cfd 100644 --- a/dashboard-ui/itemdetails.html +++ b/dashboard-ui/itemdetails.html @@ -157,6 +157,10 @@
+
+
+
+
Details @@ -181,10 +185,6 @@
-
-
-
-
Additional Parts diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 01b3a5bf7d..52c558197b 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -1511,9 +1511,7 @@ html += '
'; html += item.CommunityRating.toFixed(1); html += '
'; - } else { - html += '
'; - } + } if (item.CriticRating != null) { @@ -2522,29 +2520,25 @@ html += '

'; } - html += '

'; + html += '

'; html += ''; html += LibraryBrowser.getRatingHtml(item, false); html += ''; if (isPortrait) { - html += ''; + html += ''; html += LibraryBrowser.getUserDataIconsHtml(item); html += ''; } else { - html += ''; + html += ''; html += LibraryBrowser.getUserDataIconsHtml(item); html += ''; } - html += '

'; - - //html += '

'; - //html += (item.OverviewHtml || item.Overview || ''); - //html += '

'; + html += '
'; html += '
'; - var buttonMargin = isPortrait || isSquare ? "margin:0 7px 0 0;" : "margin:0 10px 0 0;"; + var buttonMargin = isPortrait || isSquare ? "margin:0 4px 0 0;" : "margin:0 10px 0 0;"; var buttonCount = 0;