style: use text-sm for public header nav links to match other nav components (#6557)
This commit is contained in:
@@ -229,7 +229,7 @@ export function PublicHeader(props: PublicHeaderProps) {
|
|||||||
tabIndex={link.disabled ? -1 : undefined}
|
tabIndex={link.disabled ? -1 : undefined}
|
||||||
onClick={(event) => handleNavLinkClick(event, link)}
|
onClick={(event) => handleNavLinkClick(event, link)}
|
||||||
className={cn(
|
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'
|
link.disabled && 'pointer-events-none opacity-50'
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
@@ -244,7 +244,7 @@ export function PublicHeader(props: PublicHeaderProps) {
|
|||||||
disabled={link.disabled}
|
disabled={link.disabled}
|
||||||
onClick={(event) => handleNavLinkClick(event, link)}
|
onClick={(event) => handleNavLinkClick(event, link)}
|
||||||
className={cn(
|
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
|
isActive
|
||||||
? 'text-foreground'
|
? 'text-foreground'
|
||||||
: 'text-muted-foreground hover:text-foreground',
|
: 'text-muted-foreground hover:text-foreground',
|
||||||
|
|||||||
Reference in New Issue
Block a user