From 71f118201b0918f60c1a078d55afd10b39f17e86 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Tue, 24 Mar 2020 11:53:29 -0400 Subject: [PATCH] fix(modal): properly remove safe area padding on card-modal (#20853) fixes #20799 --- core/src/css/core.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/css/core.scss b/core/src/css/core.scss index 3bf9c421ff..02229bcd38 100644 --- a/core/src/css/core.scss +++ b/core/src/css/core.scss @@ -35,7 +35,7 @@ body.backdrop-no-scroll { // The card style does not reach all the way to // the top of the screen, so there does not need // 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; }