diff --git a/frontend/src/components/layout/Sidebar.tsx b/frontend/src/components/layout/Sidebar.tsx index 1abf382d..8345b000 100644 --- a/frontend/src/components/layout/Sidebar.tsx +++ b/frontend/src/components/layout/Sidebar.tsx @@ -1,6 +1,7 @@ import { useEffect, useState } from 'react' import { useNavigate, useLocation } from 'react-router-dom' import { LayoutGrid, Box, PenLine, Clock, FileText, Bookmark, Users, Settings, PanelLeftClose, PanelLeftOpen } from 'lucide-react' +import { cn } from '@/lib/utils' import { useUserPreferencesStore } from '@/store/userPreferencesStore' import { CategoryList } from '@/components/sidebar/CategoryList' import { TagCloud } from '@/components/sidebar/TagCloud' @@ -115,13 +116,13 @@ export function Sidebar() { {sidebarCollapsed ? ( <> {/* Collapsed: icon-only nav */} -
- - - - - - +
+ + + + + +
) : ( @@ -171,7 +172,10 @@ export function Sidebar() {
{/* Footer */} -
+
{!sidebarCollapsed && ( <> @@ -180,10 +184,13 @@ export function Sidebar() { )}