[improvement] List: optimize loading
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
@import '../style/var';
|
||||
|
||||
.van-list {
|
||||
&__loading-text,
|
||||
&__loading,
|
||||
&__finished-text,
|
||||
&__error-text {
|
||||
color: @list-text-color;
|
||||
@@ -9,20 +9,4 @@
|
||||
line-height: @list-text-line-height;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&__loading {
|
||||
text-align: center;
|
||||
|
||||
&-icon,
|
||||
&-text {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
&-icon {
|
||||
width: @list-icon-size;
|
||||
height: @list-icon-size;
|
||||
margin-right: @list-icon-margin-right;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user