Attempt to fix note resizing with React keys and Muuri sync

This commit is contained in:
2026-01-24 19:52:13 +01:00
parent d59ec592eb
commit 8e35780717
48 changed files with 3369 additions and 279 deletions

View File

@@ -53,8 +53,8 @@ export function Sidebar({ className, user }: { className?: string, user?: any })
"flex items-center gap-4 px-6 py-3 rounded-r-full mr-2 transition-colors",
"text-sm font-medium tracking-wide",
active
? "bg-blue-50 text-blue-700 dark:bg-blue-900/20 dark:text-blue-100"
: "text-gray-600 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800/50"
? "bg-primary/10 text-primary dark:bg-primary/20 dark:text-primary-foreground"
: "text-muted-foreground hover:bg-muted/50 dark:hover:bg-muted/30"
)}
>
<Icon className={cn("w-5 h-5", active ? "fill-current" : "")} />