From eb8a7f2d660f80c842fd4ec8a22998fab68a3eae Mon Sep 17 00:00:00 2001 From: Mobeen Abdullah Date: Thu, 9 Jul 2026 22:40:10 +0500 Subject: [PATCH] fix(website): underline the inline button variant label The label sits in an inline-block span, so text-decoration on the anchor did not propagate. Apply the underline to the span directly. --- apps/website/src/components/ui/button/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/website/src/components/ui/button/index.ts b/apps/website/src/components/ui/button/index.ts index efaa282c72..86134269bf 100644 --- a/apps/website/src/components/ui/button/index.ts +++ b/apps/website/src/components/ui/button/index.ts @@ -21,7 +21,7 @@ export const buttonVariants = cva( underlineLink: "text-primary-comfy-yellow relative h-auto justify-start px-0 py-1 uppercase after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-full after:origin-left after:scale-x-0 after:bg-current after:transition-transform after:duration-200 hover:opacity-90 hover:after:scale-x-100 [&_svg:not([class*='size-'])]:size-6", inline: - 'text-primary-comfy-yellow inline h-auto rounded-none p-0 align-baseline text-sm font-normal tracking-normal whitespace-normal underline hover:opacity-90', + 'text-primary-comfy-yellow inline h-auto rounded-none p-0 align-baseline text-sm font-normal tracking-normal whitespace-normal hover:opacity-90 [&>span]:underline', nav: 'text-primary-warm-white hover:text-primary-comfy-yellow h-auto justify-between px-0 py-1 text-start text-2xl font-medium', navMuted: 'hover:text-primary-comfy-yellow h-auto w-full justify-between px-0 py-1 text-start text-2xl font-medium text-primary-comfy-canvas uppercase'