您好,我有自定义尺寸的模态框:
var dialog = modal.open({
template: content,
size: size,
controller:'someController'
controllerAs: 'dialog'
});
.modal-custom-lg {
width:90%;
max-width:1200px;
height:100%;
}
宽度没问题,但高度不行。我正在尝试让我的模态全屏显示。谁能建议我如何让我的模态全屏显示?
最佳答案
.modal-custom-lg .modal-dialog {
width: 100%;
height: 100%;
}
.modal-custom-lg .modal-content {
width: 100%;
height: 100%;
}
关于javascript - Angular UI 引导模式全屏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46430571/