mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(theme): button scaling when disableAnimation is true (#3499)
This commit is contained in:
parent
46edcca954
commit
59428b183d
5
.changeset/empty-countries-count.md
Normal file
5
.changeset/empty-countries-count.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@nextui-org/theme": patch
|
||||
---
|
||||
|
||||
Fixed button scaling when `disableAnimation` is `true` (#3489)
|
||||
@ -85,7 +85,7 @@ const button = tv({
|
||||
false: "[&>svg]:max-w-[theme(spacing.8)]",
|
||||
},
|
||||
disableAnimation: {
|
||||
true: "!transition-none",
|
||||
true: "!transition-none data-[pressed=true]:scale-100",
|
||||
false: "transition-transform-colors-opacity motion-reduce:transition-none",
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user