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:
commit
264f07a604
2 changed files with 7 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
|
@ -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%
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue