You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/09/13 17:45:35 UTC
[GitHub] [cordova-ios] alitalaee commented on issue #964: iPhone X safe area has changed with iOS 13+
alitalaee commented on issue #964:
URL: https://github.com/apache/cordova-ios/issues/964#issuecomment-918426782
I had the same issue and fixed after 4 hours
global.scss file
```
body {
margin-top: constant(safe-area-inset-top);
margin-top: env(safe-area-inset-top);
}
ion-tab-bar {
margin-bottom: calc(4px + env(safe-area-inset-top));
}
```

i did used safe-area-inset-top for margin-bottom to fixed this issue.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org