ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.
Python astracloudflarecontrol-panelcyberpaneldnsfablehosting-control-panelhosting-panelkimi-k3server-managementserverkitubuntu-web-panelwebserver
Refine Button component sizing and leading
Juan Deniscd8c9bd00cc9
diff --git a/frontend/src/components/ui/button.jsx b/frontend/src/components/ui/button.jsxindex 97ab7fb4..d3942e70 100644--- a/frontend/src/components/ui/button.jsx+++ b/frontend/src/components/ui/button.jsx@@ -4,7 +4,7 @@ import { cva } from 'class-variance-authority';import { cn } from '@/lib/utils';const buttonVariants = cva(- 'inline-flex items-center justify-center text-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-60 [&_svg]:pointer-events-none [&_svg:not([class*="size-"])]:size-4 shrink-0 cursor-pointer',+ 'inline-flex items-center justify-center text-center gap-2 whitespace-nowrap rounded-md text-sm font-medium leading-none transition-all disabled:pointer-events-none disabled:opacity-60 [&_svg]:pointer-events-none [&_svg:not([class*="size-"])]:size-4 shrink-0 cursor-pointer',{variants: {variant: {@@ -16,10 +16,10 @@ const buttonVariants = cva(link: 'text-primary underline-offset-4 hover:underline',},size: {- default: 'h-10 min-w-24 px-5 py-2.5 has-[>svg]:px-4',- sm: 'h-8 min-w-[4.5rem] rounded-md gap-1.5 px-3.5 text-xs has-[>svg]:px-3',- lg: 'h-11 min-w-32 rounded-lg px-7 text-base has-[>svg]:px-5',- icon: 'size-9 min-w-0 p-0',+ default: 'h-10 min-w-24 px-5 py-0',+ sm: 'h-8 min-w-[4.5rem] rounded-md gap-1.5 px-3.5 py-0 text-xs',+ lg: 'h-11 min-w-32 rounded-lg px-7 py-0 text-base',+ icon: 'size-10 min-w-0 p-0 [&_svg:not([class*="size-"])]:size-[18px]',},},defaultVariants: {