[web] Update css for modal.

This commit is contained in:
Matthew Shao 2017-07-05 08:46:16 +08:00
parent d889892ba5
commit e8f3b740c9
2 changed files with 11 additions and 0 deletions

View File

@ -19,3 +19,4 @@ html {
@import (less) "footer.less"; @import (less) "footer.less";
@import (less) "codemirror.less"; @import (less) "codemirror.less";
@import (less) "contentview.less"; @import (less) "contentview.less";
@import (less) "modal.less";

View File

@ -1,3 +1,13 @@
.modal-visible { .modal-visible {
display: block; display: block;
} }
.modal-dialog {
overflow-y: initial !important;
}
.modal-body {
max-height: calc(100vh - 20px);
overflow-y: auto;
}