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;