Commit 090ce1d0 by muhammad-ammar

move dialog fix

EDUCATOR-292
parent 9c4869c1
...@@ -89,6 +89,10 @@ function($, Backbone, _, gettext, BaseView, XBlockViewUtils, MoveXBlockUtils, Ht ...@@ -89,6 +89,10 @@ function($, Backbone, _, gettext, BaseView, XBlockViewUtils, MoveXBlockUtils, Ht
Feedback.prototype.outFocus.apply(this); Feedback.prototype.outFocus.apply(this);
}, },
resize: function() {
// Do Nothing. Overridden to use our own styling instead of one provided by base modal
},
focusModal: function() { focusModal: function() {
Feedback.prototype.inFocus.apply(this, [this.options.modalWindowClass]); Feedback.prototype.inFocus.apply(this, [this.options.modalWindowClass]);
$(this.options.modalWindowClass).focus(); $(this.options.modalWindowClass).focus();
......
...@@ -288,8 +288,11 @@ ...@@ -288,8 +288,11 @@
// ------------------------ // ------------------------
// Move XBlock Modal // Move XBlock Modal
.modal-window.move-modal { .move-modal {
top: 10% !important; position: fixed;
left: 50%;
top: 50%;
@include transform(translate(-50%,-50%));
} }
.move-xblock-modal { .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