mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +08:00
fix(modal): properly remove safe area padding on card-modal (#20853)
fixes #20799
This commit is contained in:

committed by
Liam DeBeasi

parent
8bd5bace73
commit
71f118201b
@ -35,7 +35,7 @@ body.backdrop-no-scroll {
|
|||||||
// The card style does not reach all the way to
|
// The card style does not reach all the way to
|
||||||
// the top of the screen, so there does not need
|
// the top of the screen, so there does not need
|
||||||
// to be any safe area padding added
|
// to be any safe area padding added
|
||||||
html.ios ion-modal.modal-card .ion-page > ion-header > ion-toolbar:first-child {
|
html.ios ion-modal.modal-card .ion-page > ion-header > ion-toolbar:first-of-type {
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user