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

@ -6,7 +6,7 @@
max-height: 84%;
}
.layout-tv .actionSheet {
.actionsheet-fullscreen {
max-height: none;
}

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');
}