mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 16:44:21 +00:00
style(ContactList): add safe area inset bottom (#6970)
This commit is contained in:
@@ -21,7 +21,6 @@
|
|||||||
&__add {
|
&__add {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
line-height: 38px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&__disabled-text {
|
&__disabled-text {
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
.van-contact-list {
|
.van-contact-list {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding-bottom: 50px;
|
padding-bottom: 80px;
|
||||||
|
|
||||||
&__item {
|
&__item {
|
||||||
padding: @contact-list-item-padding;
|
padding: @contact-list-item-padding;
|
||||||
@@ -41,12 +41,14 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: @contact-list-add-button-z-index;
|
z-index: @contact-list-add-button-z-index;
|
||||||
padding: 5px 16px;
|
padding: 0 @padding-md;
|
||||||
|
padding-bottom: constant(safe-area-inset-bottom);
|
||||||
|
padding-bottom: env(safe-area-inset-bottom);
|
||||||
background-color: @white;
|
background-color: @white;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__add {
|
&__add {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
line-height: 38px;
|
margin: 5px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -99,7 +99,7 @@
|
|||||||
@address-edit-detail-finish-font-size: @font-size-sm;
|
@address-edit-detail-finish-font-size: @font-size-sm;
|
||||||
|
|
||||||
// AddressList
|
// AddressList
|
||||||
@address-list-padding: 12px 12px 100px;
|
@address-list-padding: @padding-sm @padding-sm 80px;
|
||||||
@address-list-disabled-text-color: @gray-6;
|
@address-list-disabled-text-color: @gray-6;
|
||||||
@address-list-disabled-text-padding: @padding-base * 5 0 @padding-md;
|
@address-list-disabled-text-padding: @padding-base * 5 0 @padding-md;
|
||||||
@address-list-disabled-text-font-size: @font-size-md;
|
@address-list-disabled-text-font-size: @font-size-md;
|
||||||
|
Reference in New Issue
Block a user