[new feature] Loading: add vertical prop

This commit is contained in:
陈嘉涵
2019-05-04 16:35:17 +08:00
parent e3cb465dc2
commit 0fb755b136
7 changed files with 56 additions and 3 deletions
+11
View File
@@ -68,6 +68,17 @@
line-height: @loading-text-line-height;
margin-left: 10px;
}
&--vertical {
display: flex;
align-items: center;
flex-direction: column;
.van-loading__text {
margin-left: 0;
margin-top: 10px;
}
}
}
@keyframes van-circular {