Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/components/ProjectSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const DraggableProjectItemBase: React.FC<DraggableProjectItemProps> = ({
<div
ref={(node) => drag(drop(node))}
className={cn(
"py-1 px-3 flex items-center border-l-transparent transition-all duration-150",
"py-1 px-3 flex items-center border-l-transparent transition-all duration-150 bg-separator",
isDragging ? "cursor-grabbing opacity-40 [&_*]:!cursor-grabbing" : "cursor-grab",
isOver && "bg-accent/[0.08]",
selected && "bg-hover border-l-accent",
Expand Down Expand Up @@ -416,13 +416,13 @@ const ProjectSidebarInner: React.FC<ProjectSidebarProps> = ({
<DndProvider backend={HTML5Backend}>
<ProjectDragLayer />
<div
className="font-primary flex flex-1 flex-col overflow-hidden"
className="font-primary bg-dark border-border-light flex flex-1 flex-col overflow-hidden border-r"
role="navigation"
aria-label="Projects"
>
{!collapsed && (
<>
<div className="border-dark flex items-center justify-between border-b p-4">
<div className="border-dark bg-separator flex items-center justify-between border-b p-4">
<h2 className="text-foreground m-0 text-[13px] font-semibold tracking-[0.8px] uppercase">
Projects
</h2>
Expand Down Expand Up @@ -543,7 +543,7 @@ const ProjectSidebarInner: React.FC<ProjectSidebarProps> = ({
</DraggableProjectItem>

{isExpanded && (
<div id={workspaceListId} className="bg-separator">
<div id={workspaceListId}>
<div className="border-hover border-b px-3 py-2 pl-[22px]">
<button
onClick={() => onAddWorkspace(projectPath)}
Expand Down