diff --git a/src/components/ui/ripple.tsx b/src/components/ui/ripple.tsx index e7681c5..a722f15 100644 --- a/src/components/ui/ripple.tsx +++ b/src/components/ui/ripple.tsx @@ -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} > diff --git a/src/styles/globals.css b/src/styles/globals.css index 0b9ca85..a2d4113 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -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; } }