Merge pull request #15256 from edx/ammar/edu-292-move-dialog-fix
move dialog fix
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user