我正在尝试使用angular-ui-0.6.0和bootstrap-3.0制作模态窗口.
我的模板是:
Create new entry
模态的CSS:
.modal {display:block; }
模态窗口正常打开,但它的高度超过了需要.我试图建立height: auto
的.modal
,但它并没有帮助.
你可以在页脚下看到白色的地方,如何删除它?
谢谢.!
为了驯服对话框的高度,我做了以下事情:
把它放在modal.open配置上,以避免与其他对话框发生冲突
windowClass: 'your-modal-class',
然后在我的CSS中我添加了这个:
div.your-modal-class .modal-content { max-height: 600px; overflow: auto; }