fix(vscode): remove selected project indicator

This commit is contained in:
marius-kilocode
2026-08-04 12:29:39 +02:00
parent fab0e96d08
commit 44a908a8d4
3 changed files with 7 additions and 15 deletions
@@ -0,0 +1,5 @@
---
"kilo-code": patch
---
Remove the redundant selected-project indicator from Agent Manager.
@@ -48,7 +48,7 @@ export const ProjectsSection: Component<ProjectsSectionProps> = (props) => (
{(id) => {
const project = () => props.projects.find((item) => item.id === id)!
return (
<div class="am-project" classList={{ "am-project-active": project().active }}>
<div class="am-project">
<div class="am-project-item" data-project-id={project().id}>
<button
class="am-project-main"
@@ -241,25 +241,12 @@ html[data-theme="kilo-vscode"]
border-bottom: 0;
}
.am-project::before {
content: "";
position: absolute;
inset: 6px auto 6px 0;
width: 2px;
border-radius: 0 2px 2px 0;
background: transparent;
}
.am-project-active::before {
background: var(--border-interactive-base);
}
.am-project-item {
display: flex;
align-items: center;
gap: 2px;
min-height: 34px;
padding: 6px 8px 6px 12px;
padding: 6px 8px;
box-sizing: border-box;
}