[new feature] SubmitBar: add safe-area-inset-bottom prop (#3172)

This commit is contained in:
neverland
2019-04-18 19:09:12 +08:00
committed by GitHub
parent 83daca3f8d
commit 37518a2fb1
4 changed files with 14 additions and 2 deletions
+6 -1
View File
@@ -7,6 +7,7 @@
z-index: 100;
position: fixed;
user-select: none;
background-color: @white;
&__tip {
color: #f56723;
@@ -21,7 +22,6 @@
display: flex;
font-size: 14px;
align-items: center;
background-color: @white;
}
&__text {
@@ -48,4 +48,9 @@
.van-button {
width: 110px;
}
&--safe-area-inset-bottom {
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}
}