Skip to content

Commit 181129b

Browse files
committed
fix(modal): add status bar padding to modal
1 parent 2be96f2 commit 181129b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/platform/cordova.ios.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ion-menu {
1818
}
1919

2020
@media only screen and (max-width: $cordova-ios-statusbar-padding-modal-max-width) {
21-
.modal-wrapper > ion-page {
21+
.modal-wrapper > ion-modal-inner {
2222
@include toolbar-statusbar-padding($toolbar-ios-height, $content-ios-padding);
2323
@include toolbar-title-statusbar-padding($toolbar-ios-height, $content-ios-padding);
2424
}

src/platform/cordova.md.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ion-menu {
1616
}
1717

1818
@media only screen and (max-width: $cordova-md-statusbar-padding-modal-max-width) {
19-
.modal-wrapper > ion-page {
19+
.modal-wrapper > ion-modal-inner {
2020
@include toolbar-statusbar-padding($toolbar-md-height, $content-md-padding);
2121
}
2222
}

src/platform/cordova.wp.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ion-menu {
1616
}
1717

1818
@media only screen and (max-width: $cordova-wp-statusbar-padding-modal-max-width) {
19-
.modal-wrapper > ion-page {
19+
.modal-wrapper > ion-modal-inner {
2020
@include toolbar-statusbar-padding($toolbar-wp-height, $content-wp-padding);
2121
}
2222
}

0 commit comments

Comments
 (0)