Bold selected text in admin nav
This commit is contained in:
parent
c9599120d2
commit
35af0057c2
@ -28,7 +28,7 @@ export default function AdminNav({
|
||||
href={href}
|
||||
className={cc(
|
||||
'flex gap-0.5',
|
||||
!pathname.startsWith(href) && 'text-dim',
|
||||
pathname.startsWith(href) ? 'font-bold' : 'text-dim',
|
||||
)}
|
||||
>
|
||||
<span>{label}</span>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user