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