style: button should not become bigger on hover

This commit is contained in:
zhom
2026-04-12 04:24:26 +04:00
parent 7cb541b6c7
commit cb5b667ef9
2 changed files with 1 additions and 11 deletions
+1 -2
View File
@@ -118,8 +118,7 @@ function RippleButton({
ref={buttonRef}
data-slot="ripple-button"
onClick={handleClick}
whileTap={{ scale: 0.95 }}
whileHover={{ scale: 1.05 }}
whileTap={{ scale: 0.97 }}
className={cn(buttonVariants({ variant, size, className }))}
{...props}
>