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
-6
View File
@@ -1,5 +1,4 @@
@import './var.less';
@import '../style/mixins/safe-area.less';
:root {
--van-action-bar-background-color: @action-bar-background-color;
@@ -16,9 +15,4 @@
box-sizing: content-box;
height: var(--van-action-bar-height);
background-color: var(--van-action-bar-background-color);
.safe-area-inset-bottom();
&--unfit {
padding-bottom: 0;
}
}