mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-04-23 20:36:09 +02:00
style: button should not become bigger on hover
This commit is contained in:
@@ -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}
|
||||
>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user