fixing style stuffs
This commit is contained in:
@@ -13,7 +13,7 @@ var BootstrapDialog = new Class({
|
||||
initialize: function (title, options) {
|
||||
this.setOptions(options);
|
||||
this.options.onRemoveClickData.dialog = this;
|
||||
this._native = $('<div class="modal fade"></div>').append('<div class="modal-dialog" style="margin:150px auto"></div>');
|
||||
this._native = $('<div class="modal fade"></div>').append('<div class="modal-dialog"></div>');
|
||||
var content = $('<div class="modal-content"></div>');
|
||||
content.on('keydown', function(event) {
|
||||
event.stopPropagation();
|
||||
|
@@ -30,7 +30,7 @@ mindplot.widget.LinkEditor = new Class({
|
||||
errorMessage: true,
|
||||
onRemoveClickData: {model: this._model}
|
||||
});
|
||||
this.css({width:"600px"});
|
||||
this.css({margin:"150px auto"});
|
||||
var panel = this._buildPanel(model);
|
||||
this.setContent(panel);
|
||||
},
|
||||
|
@@ -29,7 +29,7 @@ mindplot.widget.NoteEditor = new Class({
|
||||
removeButton: true,
|
||||
onRemoveClickData: {model: this._model}
|
||||
});
|
||||
this.css({width:"600px"});
|
||||
this.css({margin:"150px auto"});
|
||||
var panel = this._buildPanel(model);
|
||||
this.setContent(panel);
|
||||
},
|
||||
|
Reference in New Issue
Block a user