mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
@ -98,9 +98,12 @@ ion-toast-controller,
|
||||
html.plt-ios.plt-hybrid, html.plt-ios.plt-pwa {
|
||||
--ion-statusbar-padding: 20px;
|
||||
}
|
||||
|
||||
@supports (padding-top: 20px) {
|
||||
html {
|
||||
--ion-safe-area-top: var(--ion-statusbar-padding);
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: remove once Safari 11.2 dies
|
||||
@supports (padding-top: constant(safe-area-inset-top)) {
|
||||
|
Reference in New Issue
Block a user