mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 21:31:14 -05:00
Fix admin sidebar navigation styling
This commit is contained in:
@@ -94,8 +94,8 @@ export function AdminSidebar() {
|
|||||||
end={item.url === '/admin'}
|
end={item.url === '/admin'}
|
||||||
className={({ isActive }) =>
|
className={({ isActive }) =>
|
||||||
isActive
|
isActive
|
||||||
? 'bg-accent text-accent-foreground font-medium'
|
? 'bg-sidebar-accent text-sidebar-accent-foreground font-medium'
|
||||||
: 'hover:bg-accent/50'
|
: 'hover:bg-sidebar-accent/50 hover:text-sidebar-accent-foreground'
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<item.icon className="w-4 h-4" />
|
<item.icon className="w-4 h-4" />
|
||||||
@@ -113,7 +113,7 @@ export function AdminSidebar() {
|
|||||||
<SidebarMenu>
|
<SidebarMenu>
|
||||||
<SidebarMenuItem>
|
<SidebarMenuItem>
|
||||||
<SidebarMenuButton asChild tooltip={collapsed ? 'Back to ThrillWiki' : undefined}>
|
<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" />
|
<ArrowLeft className="w-4 h-4" />
|
||||||
{!collapsed && <span>Back to ThrillWiki</span>}
|
{!collapsed && <span>Back to ThrillWiki</span>}
|
||||||
</NavLink>
|
</NavLink>
|
||||||
|
|||||||
Reference in New Issue
Block a user