move dialog fix

EDUCATOR-292
This commit is contained in:
muhammad-ammar
2017-06-07 17:02:46 +05:00
parent 9c4869c1d5
commit 090ce1d0e5
2 changed files with 9 additions and 2 deletions

View File

@@ -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();

View File

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