Added scroll-bar to long modals

Required to fix a bug in select2 where select boxes are drawn incorrecly in a long scrolling modal. 
Enforcing a scrollbar for overflow prevents this (magic)?

Ref: https://github.com/select2/select2/issues/3897
This commit is contained in:
Oliver 2018-04-26 18:22:14 +10:00
parent 59ea4a3a24
commit d02b6f3583

View File

@ -34,4 +34,17 @@
.inventree-content {
padding-left: 15px;
padding-right: 15px;
}
.modal {
overflow: hidden;
}
.modal-content {
border-radius: 0;
position:relative;
height: auto !important;
max-height: calc(100vh - 200px) !important;
overflow-y: scroll;
padding: 10px;
}