Fix some dialog's buttons are not getting fit into the dialog initiated size

This commit is contained in:
hadi 2023-03-29 17:21:41 +02:00 committed by nathan
parent 55fd0cc76e
commit 91d36f88a3

View File

@ -200,7 +200,8 @@ export class Et2Dialog extends Et2Widget(SlotMixin(SlDialog))
css`
:host {
--header-spacing: var(--sl-spacing-medium);
--body-spacing: var(--sl-spacing-medium)
--body-spacing: var(--sl-spacing-medium);
--width: auto;
}
.dialog__panel {
border: 1px solid silver;
@ -238,7 +239,6 @@ export class Et2Dialog extends Et2Widget(SlotMixin(SlDialog))
pointer-events: none;
background: transparent;
}
:host(:not([isModal])) .dialog__panel {
pointer-events: auto;
}