Skip to content

Commit 1e92140

Browse files
committed
🤖 fix: move pl-8 padding to item container not dot container
1 parent a5d08f7 commit 1e92140

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/WorkspaceListItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const WorkspaceListItemInner: React.FC<WorkspaceListItemProps> = ({
103103
<React.Fragment>
104104
<div
105105
className={cn(
106-
"py-1.5 px-2 cursor-pointer border-l-[3px] border-transparent transition-all duration-150 text-[13px] relative hover:bg-hover [&:hover_button]:opacity-100 flex gap-2",
106+
"py-1.5 pl-8 pr-2 cursor-pointer border-l-[3px] border-transparent transition-all duration-150 text-[13px] relative hover:bg-hover [&:hover_button]:opacity-100 flex gap-2",
107107
isSelected && "bg-hover border-l-blue-400"
108108
)}
109109
onClick={() =>
@@ -132,7 +132,7 @@ const WorkspaceListItemInner: React.FC<WorkspaceListItemProps> = ({
132132
data-workspace-path={namedWorkspacePath}
133133
data-workspace-id={workspaceId}
134134
>
135-
<div className="pl-8">
135+
<div>
136136
<WorkspaceStatusDot
137137
workspaceId={workspaceId}
138138
lastReadTimestamp={lastReadTimestamp}

0 commit comments

Comments
 (0)