[new feature] SubmitBar: add safe-area-inset-bottom prop (#3172)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user