mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
fix(modal): properly target card modal for iPadOS styles (#20884)
This commit is contained in:
committed by
Liam DeBeasi
parent
2b854ec2cc
commit
5816cf52a7
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user