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}
>
-9
View File
@@ -153,15 +153,6 @@
}
body {
@apply bg-background text-foreground;
overflow-x: hidden;
}
/* Prevent horizontal scrollbars in dialogs, scroll areas, and panels.
Content inside these containers should wrap, not overflow sideways. */
[role="dialog"],
[data-radix-scroll-area-viewport],
[data-slot="content"] {
overflow-x: hidden;
}
}