File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/vue/src/button/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 12
12
gcls(`size-${size || 'default'}`),
13
13
gcls(
14
14
`type-${type || 'default'}${icon ? '-icon' : state.plain ? '-plain' : ''}${
15
- state.buttonDisabled ? '-disabled' : ''
15
+ state.buttonDisabled || loading ? '-disabled' : ''
16
16
}`
17
17
),
18
18
gcls(state.round ? 'is-round' : 'no-round'),
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export const classes = {
53
53
'button-icon' : '-mt-0.5 sm:text-base fill-current' ,
54
54
'button-icon-default' : 'text-color-icon-primary hover:text-color-icon-hover active:text-color-icon-active' ,
55
55
'button-icon-disabled' : 'text-color-icon-disabled hover:cursor-not-allowed' ,
56
- 'loading-svg' : 'animate-spin-2 mr-1 fill-current -left-0.5 -right-0.5 -top-0.5 -bottom-0.5' ,
56
+ 'loading-svg' : 'animate-spin mr-1 fill-current -left-0.5 -right-0.5 -top-0.5 -bottom-0.5' ,
57
57
'button-link' :
58
58
'text-color-link hover:text-color-link-hover active:color-link-hover active:hover:text-color-link-hover sm:hover:text-color-link-hover' ,
59
59
'button-banner' : ' w-[calc(100%-theme(spacing.8))] mx-4'
You can’t perform that action at this time.
0 commit comments