diff --git a/core/src/components/modal/modal.scss b/core/src/components/modal/modal.scss index c917100070d..34628ba42cb 100644 --- a/core/src/components/modal/modal.scss +++ b/core/src/components/modal/modal.scss @@ -140,5 +140,5 @@ * completely cover the content. */ :host(.modal-sheet) { - --height: calc(100% - 10px); + --height: calc(100% - (var(--ion-safe-area-top) + 10px)); } diff --git a/core/src/components/modal/test/sheet/index.html b/core/src/components/modal/test/sheet/index.html index 5b4dee2ad60..bb13a7a4168 100644 --- a/core/src/components/modal/test/sheet/index.html +++ b/core/src/components/modal/test/sheet/index.html @@ -4,18 +4,17 @@