mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
[improvement] ActionSheet: optimize loading icon
This commit is contained in:
@@ -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 [
|
||||
|
Reference in New Issue
Block a user