From 181129b7b4325c550ef16139f6a5f61f30878d3e Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Thu, 9 Jun 2016 14:44:16 -0400 Subject: [PATCH] fix(modal): add status bar padding to modal --- src/platform/cordova.ios.scss | 2 +- src/platform/cordova.md.scss | 2 +- src/platform/cordova.wp.scss | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/platform/cordova.ios.scss b/src/platform/cordova.ios.scss index 36197005133..54a5e619949 100644 --- a/src/platform/cordova.ios.scss +++ b/src/platform/cordova.ios.scss @@ -18,7 +18,7 @@ ion-menu { } @media only screen and (max-width: $cordova-ios-statusbar-padding-modal-max-width) { - .modal-wrapper > ion-page { + .modal-wrapper > ion-modal-inner { @include toolbar-statusbar-padding($toolbar-ios-height, $content-ios-padding); @include toolbar-title-statusbar-padding($toolbar-ios-height, $content-ios-padding); } diff --git a/src/platform/cordova.md.scss b/src/platform/cordova.md.scss index 6f330604a92..baec53ab5ec 100644 --- a/src/platform/cordova.md.scss +++ b/src/platform/cordova.md.scss @@ -16,7 +16,7 @@ ion-menu { } @media only screen and (max-width: $cordova-md-statusbar-padding-modal-max-width) { - .modal-wrapper > ion-page { + .modal-wrapper > ion-modal-inner { @include toolbar-statusbar-padding($toolbar-md-height, $content-md-padding); } } diff --git a/src/platform/cordova.wp.scss b/src/platform/cordova.wp.scss index 70acf6cfe6b..4769b395b27 100644 --- a/src/platform/cordova.wp.scss +++ b/src/platform/cordova.wp.scss @@ -16,7 +16,7 @@ ion-menu { } @media only screen and (max-width: $cordova-wp-statusbar-padding-modal-max-width) { - .modal-wrapper > ion-page { + .modal-wrapper > ion-modal-inner { @include toolbar-statusbar-padding($toolbar-wp-height, $content-wp-padding); } }