Merge pull request #4056 from dmitrylyzo/fix-tv-itemdetails

This commit is contained in:
Bill Thornton
2022-10-15 17:53:55 -04:00
committed by GitHub
4 changed files with 10 additions and 4 deletions
+8
View File
@@ -810,6 +810,14 @@
padding-left: 32.45vw;
}
.layout-tv [dir="rtl"] .detailPagePrimaryContainer {
padding-right: 32.45vw;
}
.layout-tv [dir="ltr"] .detailPagePrimaryContainer {
padding-left: 32.45vw;
}
.layout-desktop .detailRibbon {
margin-top: -7.2em;
height: 7.2em;
+1 -1
View File
@@ -149,7 +149,7 @@ import ServerConnections from '../ServerConnections';
elem.classList.add('listItemBodyText');
elem.innerHTML = '<bdi>' + text + '</bdi>';
elem.innerHTML = '<bdi>' + escapeHtml(text) + '</bdi>';
html += elem.outerHTML;
}
-2
View File
@@ -14,7 +14,6 @@
font-family: inherit;
font-size: inherit;
margin: 0;
display: block;
align-items: center;
cursor: pointer;
overflow: hidden;
@@ -56,7 +55,6 @@
}
.listItem-border {
display: block;
margin: 0;
padding: 0;
border-width: 0 0 0.1em 0;
+1 -1
View File
@@ -1068,7 +1068,7 @@ function renderTagline(page, item) {
if (item.Taglines && item.Taglines.length) {
taglineElement.classList.remove('hide');
taglineElement.innerHTML = '<bdi>' + item.Taglines[0] + '</bdi>';
taglineElement.innerHTML = '<bdi>' + escapeHtml(item.Taglines[0]) + '</bdi>';
} else {
taglineElement.classList.add('hide');
}