fix button loading state
This commit is contained in:
@@ -88,9 +88,9 @@
|
||||
bind:this={ref}
|
||||
class={[
|
||||
'button group relative flex items-center gap-3 overflow-hidden rounded-sm px-5',
|
||||
'text-sui-background py-3 font-medium transition-colors',
|
||||
'text-sui-background bg-sui-primary py-3 font-medium transition-colors',
|
||||
!loading && !disabled
|
||||
? ' bg-sui-primary hover:bg-sui-secondary cursor-pointer'
|
||||
? 'hover:bg-sui-secondary cursor-pointer'
|
||||
: 'cursor-not-allowed opacity-55',
|
||||
classValue
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user