forked from extern/egroupware
Et2Dialog: Fix missing button alignment
This commit is contained in:
parent
cd22b9aad6
commit
4311eebdc9
@ -233,13 +233,25 @@ export class Et2Dialog extends Et2Widget(SlotMixin(SlDialog))
|
||||
}
|
||||
|
||||
/* Non-modal dialogs don't have an overlay */
|
||||
|
||||
:host(:not([isModal])) .dialog, :host(:not([isModal])) .dialog__overlay {
|
||||
pointer-events: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
:host(:not([isModal])) .dialog__panel {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
::slotted([align="left"]) {
|
||||
margin-right: auto;
|
||||
order: -1;
|
||||
}
|
||||
|
||||
::slotted([align="right"]) {
|
||||
margin-left: auto;
|
||||
order: 1;
|
||||
}
|
||||
`
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user