From 84835c5ed9df6ac1370b532980929049e8c0d245 Mon Sep 17 00:00:00 2001 From: Innei Date: Wed, 31 Jul 2024 21:34:13 +0800 Subject: [PATCH] fix: remove button leading Signed-off-by: Innei --- src/renderer/src/components/ui/button/variants.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/renderer/src/components/ui/button/variants.tsx b/src/renderer/src/components/ui/button/variants.tsx index 4a95c7a579..e99db70e31 100644 --- a/src/renderer/src/components/ui/button/variants.tsx +++ b/src/renderer/src/components/ui/button/variants.tsx @@ -32,8 +32,9 @@ export const buttonVariants = cva( ) export const styledButtonVariant = cva( cn( - "inline-flex cursor-default select-none items-center justify-center gap-2 rounded-lg px-3 py-1.5 text-sm outline-offset-2 transition active:transition-none disabled:cursor-not-allowed", + "inline-flex cursor-default select-none items-center justify-center gap-2 rounded-lg px-3 py-2.5 text-sm outline-offset-2 transition active:transition-none disabled:cursor-not-allowed", "ring-theme-accent/20 duration-200 focus:border-theme-accent/80 focus:outline-none focus:ring-2 disabled:ring-0", + "leading-none", ), { compoundVariants: [