Skip to content

Commit 85ec5f7

Browse files
fix(SafeAreas): fix iOS fallback (#29941)
Issue number: internal --------- - fix ion-statusbar css var fallback; ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> - CSS var --ion-statusbar-padding was not working because the Sass variable was not escaped. ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. -->
1 parent ab61c12 commit 85ec5f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/css/ionic/core.ionic.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ ion-toast-controller,
223223

224224
html.plt-ios.plt-hybrid,
225225
html.plt-ios.plt-pwa {
226-
--ion-statusbar-padding: globals.$ionic-space-m;
226+
--ion-statusbar-padding: #{globals.$ionic-space-500};
227227
}
228228

229229
@supports (padding-top: 20px) {

0 commit comments

Comments
 (0)