Skip to content

Commit 366eb38

Browse files
authored
Improve project sidebar styles to match old style (#397)
1 parent 287468f commit 366eb38

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/ProjectSidebar.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const DraggableProjectItemBase: React.FC<DraggableProjectItemProps> = ({
7878
<div
7979
ref={(node) => drag(drop(node))}
8080
className={cn(
81-
"py-1 px-3 flex items-center border-l-transparent transition-all duration-150",
81+
"py-1 px-3 flex items-center border-l-transparent transition-all duration-150 bg-separator",
8282
isDragging ? "cursor-grabbing opacity-40 [&_*]:!cursor-grabbing" : "cursor-grab",
8383
isOver && "bg-accent/[0.08]",
8484
selected && "bg-hover border-l-accent",
@@ -416,13 +416,13 @@ const ProjectSidebarInner: React.FC<ProjectSidebarProps> = ({
416416
<DndProvider backend={HTML5Backend}>
417417
<ProjectDragLayer />
418418
<div
419-
className="font-primary flex flex-1 flex-col overflow-hidden"
419+
className="font-primary bg-dark border-border-light flex flex-1 flex-col overflow-hidden border-r"
420420
role="navigation"
421421
aria-label="Projects"
422422
>
423423
{!collapsed && (
424424
<>
425-
<div className="border-dark flex items-center justify-between border-b p-4">
425+
<div className="border-dark bg-separator flex items-center justify-between border-b p-4">
426426
<h2 className="text-foreground m-0 text-[13px] font-semibold tracking-[0.8px] uppercase">
427427
Projects
428428
</h2>
@@ -543,7 +543,7 @@ const ProjectSidebarInner: React.FC<ProjectSidebarProps> = ({
543543
</DraggableProjectItem>
544544

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

0 commit comments

Comments
 (0)