feat(Style): add van-safe-area-bottom util class (#9205)

* feat(Style): add van-safe-area-bottom class

* chore: update test cases
This commit is contained in:
neverland
2021-08-08 09:08:23 +08:00
committed by GitHub
parent 1376c56743
commit eaccf2db0f
38 changed files with 153 additions and 156 deletions
+2 -7
View File
@@ -1,5 +1,4 @@
@import './var.less';
@import '../style/mixins/safe-area.less';
:root {
--van-calendar-background-color: @calendar-background-color;
@@ -201,12 +200,8 @@
&__footer {
flex-shrink: 0;
padding: 0 var(--van-padding-md);
.safe-area-inset-bottom();
&--unfit {
padding-bottom: 0;
}
padding-left: var(--van-padding-md);
padding-right: var(--van-padding-md);
}
&__confirm {