feat(SubmitBar): enable safe-area-inset-bottom by default (#5956)

This commit is contained in:
neverland
2020-03-31 07:23:23 +08:00
committed by GitHub
parent b87fd71959
commit 75e832f05a
12 changed files with 58 additions and 24 deletions
+4 -3
View File
@@ -6,6 +6,8 @@
left: 0;
z-index: @submit-bar-z-index;
width: 100%;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
background-color: @submit-bar-background-color;
user-select: none;
@@ -75,8 +77,7 @@
}
}
&--safe-area-inset-bottom {
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
&--unfit {
padding-bottom: 0;
}
}