Center expanded mode.

This commit is contained in:
Dermot Duffy
2023-04-11 20:48:04 -07:00
parent 9476fd96af
commit 6012200809
+3
View File
@@ -184,6 +184,9 @@ web-dialog {
// Allow submenus to flow outside the edge of the dialog. // Allow submenus to flow outside the edge of the dialog.
--dialog-overflow-x: visible; --dialog-overflow-x: visible;
--dialog-overflow-y: visible; --dialog-overflow-y: visible;
// Required to ensure the dialog is centered vertically.
max-height: 100vh;
} }
web-dialog::part(dialog) { web-dialog::part(dialog) {