fix: changed modal to fixed positioned, this change makes modal maintain scroll position, fixes #8800

This commit is contained in:
Torkel Ödegaard 2017-08-28 11:34:44 +02:00
parent bf110d02d1
commit 62f5770908

View File

@ -20,7 +20,8 @@
// Base modal
.modal {
position: absolute;
position: fixed;
overflow: hidden;
z-index: $zindex-modal;
width: 100%;
background-color: $panel-bg;
@ -33,7 +34,7 @@
right: 0;
margin-left: auto;
margin-right: auto;
top: 20%;
top: 10%;
}
.modal-header {