.ui-page .ui-header {
/* Status bar height on iOS 10 */
padding-top: 20px;
/* Status bar height on iOS 11.0 */
padding-top: constant(safe-area-inset-top);
/* Status bar height on iOS 11+ */
padding-top: env(safe-area-inset-top);
padding-right: constant(safe-area-inset-right);
padding-left: constant(safe-area-inset-left);
}
.ui-content {
padding-left: constant(safe-area-inset-left);
padding-right: constant(safe-area-inset-right);
}
.ui-page .ui-footer {
padding-left: constant(safe-area-inset-left);
padding-right: constant(safe-area-inset-right);
padding-bottom: constant(safe-area-inset-bottom);
}
Not sure what I'm missing. Anybody else got it working that way?
Thanks in advance and regards