fix(css): avoid cleancss bug

fixes #15807
This commit is contained in:
Manu Mtz.-Almeida
2018-10-08 15:33:53 -05:00
parent bb07fe84f5
commit f87d4bf385

View File

@ -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)) {