Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
aa7d0d39
authored
Jul 31, 2026
by
feitianbubu
Committed by
GitHub
Jul 31, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: use text-sm for public header nav links to match other nav components (#6557)
parent
e78e1db1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
web/src/components/layout/components/public-header.tsx
+2
-2
No files found.
web/src/components/layout/components/public-header.tsx
View file @
aa7d0d39
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment