Fix admin sidebar navigation styling

This commit is contained in:
gpt-engineer-app[bot]
2025-10-17 18:21:29 +00:00
parent fb8f61b12c
commit 6ef7e5b0ae

View File

@@ -94,8 +94,8 @@ export function AdminSidebar() {
end={item.url === '/admin'}
className={({ isActive }) =>
isActive
? 'bg-accent text-accent-foreground font-medium'
: 'hover:bg-accent/50'
? 'bg-sidebar-accent text-sidebar-accent-foreground font-medium'
: 'hover:bg-sidebar-accent/50 hover:text-sidebar-accent-foreground'
}
>
<item.icon className="w-4 h-4" />
@@ -113,7 +113,7 @@ export function AdminSidebar() {
<SidebarMenu>
<SidebarMenuItem>
<SidebarMenuButton asChild tooltip={collapsed ? 'Back to ThrillWiki' : undefined}>
<NavLink to="/" className="hover:bg-accent/50">
<NavLink to="/" className="hover:bg-sidebar-accent/50 hover:text-sidebar-accent-foreground">
<ArrowLeft className="w-4 h-4" />
{!collapsed && <span>Back to ThrillWiki</span>}
</NavLink>