From 60122008097b677ddb79fdd1db6141446f97367a Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Tue, 11 Apr 2023 20:48:04 -0700 Subject: [PATCH] Center expanded mode. --- src/scss/card.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scss/card.scss b/src/scss/card.scss index 73244d8d..7a489571 100644 --- a/src/scss/card.scss +++ b/src/scss/card.scss @@ -184,6 +184,9 @@ web-dialog { // Allow submenus to flow outside the edge of the dialog. --dialog-overflow-x: visible; --dialog-overflow-y: visible; + + // Required to ensure the dialog is centered vertically. + max-height: 100vh; } web-dialog::part(dialog) {