Commit aa7d0d39 by feitianbubu Committed by GitHub

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

parent e78e1db1
...@@ -229,7 +229,7 @@ export function PublicHeader(props: PublicHeaderProps) { ...@@ -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) { ...@@ -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',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment