File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
apps/dashboard/components/layout Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -55,11 +55,11 @@ export function CategorySidebar({
5555 const activeCategory = selectedCategory || defaultCategory ;
5656
5757 return (
58- < div className = "fixed inset-y-0 left-0 z-40 w-12 border-r bg- sidebar-primary border-sidebar-border " >
58+ < div className = "fixed inset-y-0 left-0 z-40 w-12 border-sidebar-border border-r bg- sidebar-primary " >
5959 < div className = "flex h-full flex-col" >
6060 { /* Logo */ }
6161 < div className = "flex h-12 items-center justify-center border-sidebar-border border-b" >
62- < Link
62+ < Link
6363 className = "relative flex-shrink-0 transition-opacity hover:opacity-80"
6464 href = "/websites"
6565 >
@@ -78,21 +78,24 @@ export function CategorySidebar({
7878 const isActive = activeCategory === category . id ;
7979
8080 return (
81- < Tooltip key = { category . id } >
81+ < Tooltip delayDuration = { 500 } key = { category . id } >
8282 < TooltipTrigger asChild >
8383 < button
8484 className = { cn (
8585 'flex items-center justify-center px-3 py-2.5 transition-colors hover:bg-sidebar-accent/50' ,
8686 'focus:outline-none' ,
87- isActive && 'bg-sidebar-accent text-sidebar-accent-foreground'
87+ isActive &&
88+ 'bg-sidebar-accent text-sidebar-accent-foreground'
8889 ) }
8990 onClick = { ( ) => onCategoryChange ?.( category . id ) }
9091 type = "button"
9192 >
9293 < Icon
9394 className = { cn (
9495 'h-5 w-5 transition-colors' ,
95- isActive ? 'text-sidebar-ring' : 'text-sidebar-primary-foreground/70'
96+ isActive
97+ ? 'text-sidebar-ring'
98+ : 'text-sidebar-primary-foreground/70'
9699 ) }
97100 weight = { isActive ? 'fill' : 'duotone' }
98101 />
You can’t perform that action at this time.
0 commit comments