style: add safe-area mixin (#8062)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@import '../style/var';
|
||||
@import '../style/mixins/safe-area.less';
|
||||
|
||||
.van-contact-list {
|
||||
box-sizing: border-box;
|
||||
@@ -42,9 +43,8 @@
|
||||
left: 0;
|
||||
z-index: @contact-list-add-button-z-index;
|
||||
padding: 0 @padding-md;
|
||||
padding-bottom: constant(safe-area-inset-bottom);
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
background-color: @white;
|
||||
.safe-area-inset-bottom();
|
||||
}
|
||||
|
||||
&__add {
|
||||
|
||||
Reference in New Issue
Block a user