From 0600fb26a34bb989dbae382dc711ed477f0d3b15 Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Sun, 5 Jan 2020 23:55:28 +0300 Subject: [PATCH] apply suggestion change --- src/controllers/itemdetailpage.js | 6 +++--- src/css/librarybrowser.css | 30 ++++++++---------------------- src/itemdetails.html | 8 ++++---- 3 files changed, 15 insertions(+), 29 deletions(-) diff --git a/src/controllers/itemdetailpage.js b/src/controllers/itemdetailpage.js index e02063c031..782f3cd16e 100644 --- a/src/controllers/itemdetailpage.js +++ b/src/controllers/itemdetailpage.js @@ -419,13 +419,13 @@ define(["loading", "appRouter", "layoutManager", "userSettings", "connectionMana var offset = parentNameLast ? ".25em" : ".5em"; if (html && !parentNameLast) { - html += '

' + name + '

'; + html += '

' + name + '

'; } else { - html = '

' + name + "

" + html; + html = '

' + name + "

" + html; } if (item.OriginalTitle && item.OriginalTitle != item.Name) { - html += '

' + item.OriginalTitle + '

'; + html += '

' + item.OriginalTitle + '

'; } container.innerHTML = html; diff --git a/src/css/librarybrowser.css b/src/css/librarybrowser.css index ff10701756..835f5ddbff 100644 --- a/src/css/librarybrowser.css +++ b/src/css/librarybrowser.css @@ -422,10 +422,6 @@ left: .8em } -.noBackdrop { - display: none; -} - .itemBackdrop { -webkit-background-size: cover; background-size: cover; @@ -447,7 +443,11 @@ bottom: .75em } -.layout-mobile .detailPagePrimaryContainer, +.layout-mobile .detailPagePrimaryContainer { + display: block; + position: relative; +} + .layout-tv .detailPagePrimaryContainer { position: relative; } @@ -455,7 +455,6 @@ .detailPagePrimaryContainer { display: flex; align-items: center; - flex-flow: row wrap; align-content: center; position: sticky; top: 0; @@ -463,8 +462,6 @@ } .infoWrapper { - margin: 1.25em 0 0; - padding-left: 3%; flex: 1 0 0; } @@ -475,7 +472,7 @@ text-align: left; } -.detailPageSeconderyContainer { +.detailPageSecondaryContainer { margin: 1.25em 0; display: flex; flex-direction: column; @@ -587,22 +584,12 @@ } .itemDetailPage { - padding-top: 2em !important + padding-top: 0em !important } .detailimg-hidemobile { display: none } - - .detailPagePrimaryContainer { - display: flex; - align-items: center; - justify-content: center; - } - - .infoWrapper { - flex: initial; - } } @media all and (min-width:31.25em) { @@ -647,7 +634,6 @@ -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 1em 0; - padding-right: 3%; } .recordingFields button { @@ -904,7 +890,7 @@ margin: 1.25em 0; } -.sectionTitleContainer>.sectionTitle { +.sectionTitleContainer > .sectionTitle { margin: 0; display: inline-block; vertical-align: middle; diff --git a/src/itemdetails.html b/src/itemdetails.html index c7c890283c..4208d99262 100644 --- a/src/itemdetails.html +++ b/src/itemdetails.html @@ -8,12 +8,12 @@
-
+
-
-
+
+
@@ -111,7 +111,7 @@
-
+