mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
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:
parent
59ea4a3a24
commit
d02b6f3583
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user