修改BUG:更正modal-body超长问题

This commit is contained in:
Argo-MacBookPro 2018-08-03 19:51:18 +08:00
parent ebf91e0f67
commit dea2e8febb
3 changed files with 1 additions and 41 deletions

View File

@ -65,36 +65,6 @@
}
}
@media (min-height: 414px) {
.modal .modal-body {
max-height: 200px;
}
}
@media (min-height: 568px) {
.modal .modal-body {
max-height: 380px;
}
}
@media (min-height: 667px) {
.modal .modal-body {
max-height: 450px;
}
}
@media (min-height: 736px) {
.modal .modal-body {
max-height: 510px;
}
}
@media (min-height: 768px) {
.modal .modal-body {
max-height: 540px;
}
}
@media (min-height: 672px) {
.sidebar {
top: 98px;

View File

@ -63,16 +63,6 @@
margin-left: 4px;
}
.modal .modal-body {
max-height: 164px;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
.modal.file-zoom-dialog .modal-dialog {
max-width: none;
}
.modal-header {
background-color: #f5f5f5;
border-top-left-radius: 6px;

View File

@ -191,7 +191,7 @@
$dialogMenu.modal('show');
});
$dialogMenu.on('hidden.bs.modal', function () { $dialogNew.show().find('.modal-dialog').adjustDialog(); });
$dialogMenu.on('hidden.bs.modal', function () { $dialogNew.show(); });
$btnSubmitMenu.on('click', function () {
$nestMenu.find('li span').removeClass('active');