Skip to content

Commit

Permalink
fix(modal): properly target card modal for iPadOS styles (#20884)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamdebeasi committed Mar 26, 2020
1 parent 2b854ec commit 5816cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/components/modal/modal.ios.scss
Expand Up @@ -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;
Expand Down

0 comments on commit 5816cf5

Please sign in to comment.