feat(Calendar): add formatter prop

This commit is contained in:
陈嘉涵
2019-12-26 19:59:08 +08:00
committed by neverland
parent 1f6cce692c
commit 28f126e4ec
7 changed files with 174 additions and 34 deletions
+11 -3
View File
@@ -71,6 +71,7 @@
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
&__day {
@@ -105,14 +106,21 @@
}
}
&__day-label {
&__top-info,
&__bottom-info {
position: absolute;
right: 0;
bottom: 6px;
left: 0;
font-size: @font-size-xs;
line-height: 14px;
text-align: center;
}
&__top-info {
top: 6px;
}
&__bottom-info {
bottom: 6px;
}
&__selected-day {