style: use text-sm for public header nav links to match other nav components (#6557)

This commit is contained in:
feitianbubu
2026-07-31 14:54:23 +08:00
committed by GitHub
parent e78e1db1e4
commit aa7d0d39a4
@@ -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',