From aa7d0d39a4a783fe1a9358fee4fed8d093cd1e02 Mon Sep 17 00:00:00 2001 From: feitianbubu Date: Fri, 31 Jul 2026 14:54:23 +0800 Subject: [PATCH] style: use text-sm for public header nav links to match other nav components (#6557) --- web/src/components/layout/components/public-header.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/layout/components/public-header.tsx b/web/src/components/layout/components/public-header.tsx index 43a7e9c9..06511c35 100644 --- a/web/src/components/layout/components/public-header.tsx +++ b/web/src/components/layout/components/public-header.tsx @@ -229,7 +229,7 @@ export function PublicHeader(props: PublicHeaderProps) { tabIndex={link.disabled ? -1 : undefined} onClick={(event) => handleNavLinkClick(event, link)} className={cn( - 'text-muted-foreground hover:text-foreground rounded-lg px-3 py-1.5 text-[13px] font-medium transition-colors duration-200', + 'text-muted-foreground hover:text-foreground rounded-lg px-3 py-1.5 text-sm font-medium transition-colors duration-200', link.disabled && 'pointer-events-none opacity-50' )} > @@ -244,7 +244,7 @@ export function PublicHeader(props: PublicHeaderProps) { disabled={link.disabled} onClick={(event) => handleNavLinkClick(event, link)} className={cn( - 'rounded-lg px-3 py-1.5 text-[13px] font-medium transition-colors duration-200', + 'rounded-lg px-3 py-1.5 text-sm font-medium transition-colors duration-200', isActive ? 'text-foreground' : 'text-muted-foreground hover:text-foreground',