Fix modal positioning to work with drag and drop
This commit is contained in:
parent
119362374e
commit
cdbd36f16e
@ -28,14 +28,13 @@
|
||||
@include shadow-float();
|
||||
|
||||
background-color: $white;
|
||||
left: 50%;
|
||||
left: calc(50% - 300px);
|
||||
max-height: calc(100% - 10em);
|
||||
max-width: 100%;
|
||||
min-height: 10em;
|
||||
overflow-y: auto;
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
top: 10em;
|
||||
width: 400px;
|
||||
z-index: 1100;
|
||||
zoom: 1.01; // Fixes blurry text
|
||||
@ -50,7 +49,7 @@
|
||||
|
||||
&.modal-closed {
|
||||
opacity: 0;
|
||||
transform: translate(-50%, -100%);
|
||||
transform: translateY(-100%);
|
||||
}
|
||||
|
||||
.title {
|
||||
|
Reference in New Issue
Block a user