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 GitHub
parent 3a269e27b6
commit 7c5661fcfb

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;