fix: prioritize modal over freeze in grid-form
This commit is contained in:
parent
f46d1aefa9
commit
477335eb4a
3 changed files with 7 additions and 3 deletions
|
|
@ -1296,7 +1296,7 @@ export default class GridRow {
|
|||
.find(".grid-delete-row")
|
||||
.toggle(!(this.grid.df && this.grid.df.cannot_delete_rows));
|
||||
|
||||
frappe.dom.freeze("", "dark");
|
||||
frappe.dom.freeze("", "dark grid-form");
|
||||
if (cur_frm) cur_frm.cur_grid = this;
|
||||
this.wrapper.addClass("grid-row-open");
|
||||
if (
|
||||
|
|
|
|||
|
|
@ -321,7 +321,7 @@
|
|||
overflow: hidden;
|
||||
height: 0;
|
||||
opacity: 0;
|
||||
z-index: 1051;
|
||||
z-index: 1021;
|
||||
border-radius: var(--border-radius-md);
|
||||
@include base-grid();
|
||||
|
||||
|
|
@ -362,6 +362,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
#freeze.grid-form {
|
||||
z-index: 1020;
|
||||
}
|
||||
|
||||
.recorder-form-in-grid {
|
||||
z-index: 0;
|
||||
@include base-grid();
|
||||
|
|
|
|||
|
|
@ -418,7 +418,7 @@ kbd {
|
|||
|
||||
// freeze backdrop text
|
||||
#freeze {
|
||||
z-index: 1050;
|
||||
z-index: 1055;
|
||||
bottom: 0;
|
||||
opacity: 0;
|
||||
background-color: var(--bg-color);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue