1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #477 from grafixeyehero/mediainfo-tv-mode

Fix mediainfo display on tv mode
This commit is contained in:
Joshua M. Boniface 2019-10-06 14:40:01 -04:00 committed by GitHub
commit 264f07a604
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -136,7 +136,7 @@ define(["dialogHelper", "require", "layoutManager", "globalize", "userSettings",
html += globalize.translateDocument(template, "core"); html += globalize.translateDocument(template, "core");
dlg.innerHTML = html; dlg.innerHTML = html;
if (layoutManager.tv) { if (layoutManager.tv) {
scrollHelper.centerFocus.on(dlg.querySelector(".formDialogContent"), false); dlg.querySelector(".formDialogContent");
} }
dialogHelper.open(dlg); dialogHelper.open(dlg);
dlg.querySelector(".btnCancel").addEventListener("click", function (e) { dlg.querySelector(".btnCancel").addEventListener("click", function (e) {

View file

@ -85,3 +85,9 @@ div[data-role=page] {
padding-bottom: .4em !important; padding-bottom: .4em !important;
padding-top: .4em !important padding-top: .4em !important
} }
.mediaInfoContent {
margin-left: auto;
margin-right: auto;
width: 85%
}