From 5816cf52a779acc4613c2d2da28b97c511360cc2 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 26 Mar 2020 11:19:23 -0400 Subject: [PATCH] fix(modal): properly target card modal for iPadOS styles (#20884) --- core/src/components/modal/modal.ios.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/components/modal/modal.ios.scss b/core/src/components/modal/modal.ios.scss index 4fa1a57c64..dc83c5cfbe 100644 --- a/core/src/components/modal/modal.ios.scss +++ b/core/src/components/modal/modal.ios.scss @@ -53,7 +53,7 @@ } @media screen and (min-width: 768px) { - :host { + :host(.modal-card) { --width: calc(100% - 120px); --height: calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom))); --max-width: 720px;