diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index 9572d45586..cfc676366a 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -117,6 +117,13 @@ } } +@media all and (min-width: 1920px) { + + .squareEhsContent { + width: 1200px; + } +} + .detailPageContent { margin: 0 auto; padding: 0; diff --git a/dashboard-ui/index.html b/dashboard-ui/index.html index bcec63a33c..9d083808f5 100644 --- a/dashboard-ui/index.html +++ b/dashboard-ui/index.html @@ -24,7 +24,7 @@
-diff --git a/dashboard-ui/scripts/indexpage.js b/dashboard-ui/scripts/indexpage.js index b9c94c1834..ae0ba3a146 100644 --- a/dashboard-ui/scripts/indexpage.js +++ b/dashboard-ui/scripts/indexpage.js @@ -279,7 +279,7 @@ SortOrder: "Descending", MediaTypes: "Video", Filters: "IsResumable", - Limit: (screenWidth >= 1200 ? 9 : 6), + Limit: screenWidth >= 1920 ? 9 : (screenWidth >= 1200 ? 9 : 6), Recursive: true, Fields: "PrimaryImageAspectRatio", CollapseBoxSetItems: false, diff --git a/dashboard-ui/scripts/musicrecommended.js b/dashboard-ui/scripts/musicrecommended.js index 8c423f9b42..8f18398e5a 100644 --- a/dashboard-ui/scripts/musicrecommended.js +++ b/dashboard-ui/scripts/musicrecommended.js @@ -11,7 +11,7 @@ var options = { IncludeItemTypes: "Audio", - Limit: screenWidth >= 1920 ? 15 : (screenWidth >= 1200 ? 10 : 12), + Limit: screenWidth >= 1920 ? 18 : (screenWidth >= 1200 ? 10 : 12), Fields: "PrimaryImageAspectRatio", ParentId: parentId }; @@ -34,7 +34,7 @@ SortBy: "DatePlayed", SortOrder: "Descending", IncludeItemTypes: "Audio", - Limit: screenWidth >= 1920 ? 5 : (screenWidth >= 1200 ? 5 : 6), + Limit: screenWidth >= 1920 ? 6 : (screenWidth >= 1200 ? 5 : 6), Recursive: true, Fields: "PrimaryImageAspectRatio,AudioInfo", Filters: "IsPlayed", @@ -64,7 +64,7 @@ SortBy: "PlayCount", SortOrder: "Descending", IncludeItemTypes: "Audio", - Limit: screenWidth >= 1920 ? 10 : (screenWidth >= 1200 ? 10 : 12), + Limit: screenWidth >= 1920 ? 12 : (screenWidth >= 1200 ? 10 : 12), Recursive: true, Fields: "PrimaryImageAspectRatio,AudioInfo", Filters: "IsPlayed", |