From 7299c1dee0c7e2a8ad89880acdd58d812a73e1c4 Mon Sep 17 00:00:00 2001 From: Shibo Lyu Date: Wed, 2 Apr 2025 00:30:40 +0800 Subject: [PATCH] fix: increase button horizontal padding from px-2 to px-2.5 --- src/lib/components/Button.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/Button.svelte b/src/lib/components/Button.svelte index 2ec08cc..c34d863 100644 --- a/src/lib/components/Button.svelte +++ b/src/lib/components/Button.svelte @@ -22,7 +22,7 @@ this={href ? 'a' : 'button'} {href} class={tw( - 'text-sf-secondary ring-ss-secondary inline-flex cursor-default items-center justify-center rounded-md px-2 py-1 shadow-xs ring-1', + 'text-sf-secondary ring-ss-secondary inline-flex cursor-default items-center justify-center rounded-md px-2.5 py-1 shadow-xs ring-1', 'hover:ring-ss-primary font-normal transition-shadow duration-200 active:shadow-inner', variant === 'primary' && [ 'relative text-slate-50 ring-0 duration-200',