mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Et2Dialog: Fix height attribute was not setting dialog height
This commit is contained in:
parent
b759afa57d
commit
ba04abd1b4
@ -240,6 +240,10 @@ export class Et2Dialog extends Et2Widget(SlotMixin(SlDialog))
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
.dialog_content {
|
||||
height: var(--height, auto);
|
||||
}
|
||||
|
||||
/* Non-modal dialogs don't have an overlay */
|
||||
|
||||
:host(:not([ismodal])) .dialog, :host(:not([isModal])) .dialog__overlay {
|
||||
@ -884,7 +888,7 @@ export class Et2Dialog extends Et2Widget(SlotMixin(SlDialog))
|
||||
}
|
||||
if(this.height)
|
||||
{
|
||||
styles.height = "--height: " + this.height;
|
||||
styles["--height"] = this.height;
|
||||
}
|
||||
|
||||
return html`
|
||||
|
Loading…
Reference in New Issue
Block a user