Fix modal positioning to work with drag and drop

This commit is contained in:
Matthew Ross 2016-09-14 20:41:15 -04:00
parent 119362374e
commit cdbd36f16e

View File

@ -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 {