update components
This commit is contained in:
parent
058d86a988
commit
1d0c9407f0
9 changed files with 46 additions and 63 deletions
|
@ -6,7 +6,7 @@
|
|||
max-height: 84%;
|
||||
}
|
||||
|
||||
.layout-tv .actionSheet {
|
||||
.actionsheet-fullscreen {
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue