feat: Enhance sidebar navigation active state logic, introduce static display items, refine active item styling

This commit is contained in:
Anish Sarkar 2025-12-28 01:20:39 +05:30
parent 8b10b0cd24
commit 2c64fcc38e
7 changed files with 53 additions and 15 deletions

View file

@ -187,7 +187,7 @@ export function NavNotes({
disabled={isDeletingNote}
className={cn(
"pr-8", // Make room for the action button
isActive && "bg-sidebar-accent text-sidebar-accent-foreground font-medium",
isActive && "bg-sidebar-accent text-sidebar-accent-foreground",
isDeletingNote && "opacity-50"
)}
>