@@ -2218,9 +2218,8 @@ const SidebarProjectItem = memo(function SidebarProjectItem(props: SidebarProjec
22182218 < div className = "group/project-header relative" >
22192219 < SidebarMenuButton
22202220 ref = { isManualProjectSorting ? dragHandleProps ?. setActivatorNodeRef : undefined }
2221- size = "sm"
2222- className = { `h-8 gap-2 rounded-md px-2 py-1.5 pr-8 text-left hover:bg-sidebar-row-hover group-hover/project-header:bg-sidebar-row-hover group-hover/project-header:text-sidebar-foreground max-sm:pr-14 ${
2223- isManualProjectSorting ? "cursor-grab active:cursor-grabbing" : "cursor-pointer"
2221+ className = { `pr-8 group-hover/project-header:bg-sidebar-row-hover group-hover/project-header:text-sidebar-foreground max-sm:pr-14 ${
2222+ isManualProjectSorting ? "cursor-grab active:cursor-grabbing" : ""
22242223 } `}
22252224 { ...( isManualProjectSorting && dragHandleProps ? dragHandleProps . attributes : { } ) }
22262225 { ...( isManualProjectSorting && dragHandleProps ? dragHandleProps . listeners : { } ) }
@@ -2822,30 +2821,33 @@ const SidebarProjectsContent = memo(function SidebarProjectsContent(
28222821 ) ;
28232822
28242823 return (
2825- < SidebarContent className = "gap-0" >
2826- < SidebarGroup className = "px-2 pt-2 pb-1" >
2827- < SidebarMenu >
2828- < SidebarMenuItem >
2829- < CommandDialogTrigger
2830- render = {
2831- < SidebarMenuButton
2832- size = "sm"
2833- className = "h-8 gap-2 rounded-md px-2 py-1.5 text-sidebar-muted-foreground/80 hover:bg-sidebar-row-hover hover:text-sidebar-foreground focus-visible:ring-0"
2834- data-testid = "command-palette-trigger"
2835- />
2836- }
2837- >
2838- < SearchIcon className = "size-4 shrink-0 text-sidebar-muted-foreground/80" />
2839- < span className = "flex-1 truncate text-left text-sm font-medium" > Search</ span >
2840- { commandPaletteShortcutLabel ? (
2841- < Kbd className = "h-4 min-w-0 rounded-sm px-1.5 text-[10px]" >
2842- { commandPaletteShortcutLabel }
2843- </ Kbd >
2844- ) : null }
2845- </ CommandDialogTrigger >
2846- </ SidebarMenuItem >
2847- </ SidebarMenu >
2848- </ SidebarGroup >
2824+ < SidebarContent
2825+ className = "gap-0"
2826+ fixedHeader = {
2827+ < SidebarGroup className = "px-2 pt-2 pb-1" >
2828+ < SidebarMenu >
2829+ < SidebarMenuItem >
2830+ < CommandDialogTrigger
2831+ render = {
2832+ < SidebarMenuButton
2833+ className = "focus-visible:ring-0"
2834+ data-testid = "command-palette-trigger"
2835+ />
2836+ }
2837+ >
2838+ < SearchIcon />
2839+ < span className = "flex-1 truncate" > Search</ span >
2840+ { commandPaletteShortcutLabel ? (
2841+ < Kbd className = "h-4 min-w-0 rounded-sm px-1.5 text-[10px]" >
2842+ { commandPaletteShortcutLabel }
2843+ </ Kbd >
2844+ ) : null }
2845+ </ CommandDialogTrigger >
2846+ </ SidebarMenuItem >
2847+ </ SidebarMenu >
2848+ </ SidebarGroup >
2849+ }
2850+ >
28492851 { showArm64IntelBuildWarning && arm64IntelBuildWarningDescription ? (
28502852 < SidebarGroup className = "px-2 pt-2 pb-0" >
28512853 < Alert variant = "warning" className = "rounded-2xl border-warning/40 bg-warning/8" >
0 commit comments