mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[improvement] ActionSheet: optimize loading icon
This commit is contained in:
parent
5c8ec71182
commit
0c641f7d63
@ -34,10 +34,6 @@
|
||||
font-size: @action-sheet-subname-font-size;
|
||||
}
|
||||
|
||||
&__loading {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
&__cancel::before {
|
||||
display: block;
|
||||
height: 10px;
|
||||
|
@ -86,7 +86,7 @@ function ActionSheet(
|
||||
|
||||
function OptionContent() {
|
||||
if (item.loading) {
|
||||
return <Loading class={bem('loading')} size="20px" />;
|
||||
return <Loading size="20px" />;
|
||||
}
|
||||
|
||||
return [
|
||||
|
Loading…
x
Reference in New Issue
Block a user