feat(Calendar): add safe-area-inset-bottom prop、footer slot

This commit is contained in:
陈嘉涵
2019-12-26 19:59:08 +08:00
committed by neverland
parent f65f2cc6cf
commit 0b721fd87c
3 changed files with 43 additions and 14 deletions
+8 -1
View File
@@ -118,11 +118,18 @@
}
&__footer {
padding: 7px @padding-md;
flex-shrink: 0;
padding: 0 @padding-md;
&--safe-area-inset-bottom {
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}
}
&__confirm {
height: 36px;
margin: 7px 0;
line-height: 34px;
}
}