forked from extern/egroupware
Et2Dialog: Fix width property
This commit is contained in:
parent
70d571f8bf
commit
72626b0dc2
@ -684,6 +684,10 @@ export class Et2Dialog extends Et2Widget(SlotMixin(SlDialog))
|
||||
render(this._buttonsTemplate(), this);
|
||||
this.requestUpdate();
|
||||
}
|
||||
if(changedProperties.has("width"))
|
||||
{
|
||||
this.style.setProperty("--width", this.width ? this.width + "px" : "initial");
|
||||
}
|
||||
}
|
||||
|
||||
_loadTemplate()
|
||||
|
Loading…
Reference in New Issue
Block a user