diff --git a/dashboard-ui/css/card.css b/dashboard-ui/css/card.css index 1eb798102a..bb3aba559b 100644 --- a/dashboard-ui/css/card.css +++ b/dashboard-ui/css/card.css @@ -372,10 +372,6 @@ .smallBackdropCard { width: 12.5%; } - - .backdropCard { - width: 20%; - } } @@ -385,10 +381,6 @@ width: 12.5%; } - .portraitCard { - width: 10%; - } - .smallBackdropCard { width: 10%; } @@ -399,6 +391,14 @@ .squareCard { width: 11.111111111111111111111111111111%; } + + .backdropCard { + width: 20%; + } + + .portraitCard { + width: 11.111111111111111111111111111111%; + } } @media all and (min-width: 2200px) { @@ -407,13 +407,20 @@ width: 10%; } - .backdropCard { - width: 16.666666666666666666666666666667%; - } - .bannerCard { width: 25%; } + + .portraitCard { + width: 10%; + } +} + +@media all and (min-width: 2500px) { + + .backdropCard { + width: 16.666666666666666666666666666667%; + } } @@ -511,24 +518,17 @@ } } -@media all and (min-width: 700px) { - - .homePageSmallBackdropCard { - width: 20%; - } -} - -@media all and (min-width: 1000px) { +@media all and (min-width: 1600px) { .homePageSmallBackdropCard { width: 16.666666666666666666666666666667%; } } -@media all and (min-width: 1600px) { +@media all and (min-width: 1920px) { .homePageSmallBackdropCard { - width: 12.5%; + width: 14.285714285714285714285714285714%; } } diff --git a/dashboard-ui/css/livetv.css b/dashboard-ui/css/livetv.css index 8804fe896a..dbf3a52b2d 100644 --- a/dashboard-ui/css/livetv.css +++ b/dashboard-ui/css/livetv.css @@ -307,11 +307,11 @@ } .channelHeaderCell, .channelTimeslotHeader { - width: 94px; + width: 98px; } .programGrid, .timeslotHeaders { - margin-left: 95px; + margin-left: 99px; } .currentDay { @@ -340,7 +340,7 @@ } .channelTimeslotHeader i { - margin-right: 2px !important; + margin-right: 4px !important; } .channelTimeslotHeader .timeslotHeaderInner { diff --git a/dashboard-ui/scripts/indexpage.js b/dashboard-ui/scripts/indexpage.js index 6353dca238..e7bbd269b5 100644 --- a/dashboard-ui/scripts/indexpage.js +++ b/dashboard-ui/scripts/indexpage.js @@ -426,12 +426,14 @@ (function ($, document) { + var defaultFirstSection = 'smalllibrarytiles-automobile'; + function getDefaultSection(index) { switch (index) { case 0: - return 'librarytiles-automobile'; + return defaultFirstSection; case 1: return 'resume'; case 2: @@ -451,7 +453,7 @@ var section = displayPreferences.CustomPrefs['home' + index] || getDefaultSection(index); if (section == 'folders') { - section = 'librarytiles-automobile'; + section = defaultFirstSection; } var showLibraryTileNames = displayPreferences.CustomPrefs.enableLibraryTileNames != '0';