fix(modal): properly target card modal for iPadOS styles (#20884)

This commit is contained in:
Liam DeBeasi
2020-03-26 11:19:23 -04:00
committed by Liam DeBeasi
parent 2b854ec2cc
commit 5816cf52a7

View File

@ -53,7 +53,7 @@
} }
@media screen and (min-width: 768px) { @media screen and (min-width: 768px) {
:host { :host(.modal-card) {
--width: calc(100% - 120px); --width: calc(100% - 120px);
--height: calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom))); --height: calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));
--max-width: 720px; --max-width: 720px;