This commit is contained in:
yumoqing 2024-02-29 18:48:48 +08:00
parent be1f1ebd1d
commit cc2e090c96
2 changed files with 3 additions and 3 deletions

View File

@ -105,6 +105,6 @@ bricks.PopupForm = class extends bricks.BPopup {
this.dismiss();
}
}
bricks.Factory.register('BMessage', bricks.BMessage);
bricks.Factory.register('BError', bricks.BError);
bricks.Factory.register('Message', bricks.BMessage);
bricks.Factory.register('Error', bricks.BError);
bricks.Factory.register('PopupForm', bricks.PopupForm);

View File

@ -44,7 +44,7 @@ bricks.Modal = class extends bricks.Layout {
var e = document.createElement('div');
e.style.display = "none"; /* Hidden by default */
e.style.position = "fixed"; /* Stay in place */
e.style.zIndex = objget(this.opts, 'org_index', 0) + 1; /* Sit on top */
e.style.zIndex = objget(this.opts, 'org_index', 0) + 5000; /* Sit on top */
e.style.paddingTop = "100px"; /* Location of the box */
e.style.left = 0;
e.style.top = 0;