Commit 090ce1d0 by muhammad-ammar

move dialog fix

EDUCATOR-292
parent 9c4869c1
......@@ -89,6 +89,10 @@ function($, Backbone, _, gettext, BaseView, XBlockViewUtils, MoveXBlockUtils, Ht
Feedback.prototype.outFocus.apply(this);
},
resize: function() {
// Do Nothing. Overridden to use our own styling instead of one provided by base modal
},
focusModal: function() {
Feedback.prototype.inFocus.apply(this, [this.options.modalWindowClass]);
$(this.options.modalWindowClass).focus();
......
......@@ -288,8 +288,11 @@
// ------------------------
// Move XBlock Modal
.modal-window.move-modal {
top: 10% !important;
.move-modal {
position: fixed;
left: 50%;
top: 50%;
@include transform(translate(-50%,-50%));
}
.move-xblock-modal {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment