feat(Popup): add safe-area-inset-bottom prop (#4419)

This commit is contained in:
neverland
2019-09-10 20:15:24 +08:00
committed by GitHub
parent 50aa27fc64
commit a80773e19e
6 changed files with 15 additions and 8 deletions
+5
View File
@@ -63,6 +63,11 @@
}
}
&--safe-area-inset-bottom {
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}
&-slide-top-enter,
&-slide-top-leave-active {
transform: translate3d(0, -100%, 0);