[improvement] ActionSheet: optimize loading icon

This commit is contained in:
陈嘉涵 2019-05-13 20:07:12 +08:00
parent 5c8ec71182
commit 0c641f7d63
2 changed files with 1 additions and 5 deletions

View File

@ -34,10 +34,6 @@
font-size: @action-sheet-subname-font-size;
}
&__loading {
display: inline-block;
}
&__cancel::before {
display: block;
height: 10px;

View File

@ -86,7 +86,7 @@ function ActionSheet(
function OptionContent() {
if (item.loading) {
return <Loading class={bem('loading')} size="20px" />;
return <Loading size="20px" />;
}
return [