mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-29 18:52:45 +08:00
fix(vscode): remove selected project indicator
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user