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

update components

This commit is contained in:
Luke Pulverenti 2016-08-04 22:03:15 -04:00
parent 058d86a988
commit 1d0c9407f0
9 changed files with 46 additions and 63 deletions

View file

@ -91,9 +91,11 @@
};
var backButton = false;
var isFullscreen;
if (layoutManager.tv) {
dialogOptions.size = 'fullscreen';
isFullscreen = true;
backButton = true;
dialogOptions.autoFocus = true;
} else {
@ -106,6 +108,10 @@
var dlg = dialogHelper.createDialog(dialogOptions);
if (isFullscreen) {
dlg.classList.add('actionsheet-fullscreen');
}
if (!layoutManager.tv) {
dlg.classList.add('actionsheet-extraSpacing');
}