Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .changeset/fifty-baboons-shine.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"kilo-code": patch
---

Updates some visual bugs in Agent Behaviour settings page
2 changes: 1 addition & 1 deletion webview-ui/src/components/kilocode/rules/RuleRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const RuleRow: React.FC<{
<span
className="flex-1 overflow-hidden break-all whitespace-normal flex items-center mr-1"
title={rulePath}>
<span className="ph-no-capture">{getBasename(rulePath)}</span>
<span className="ph-no-capture truncate">{getBasename(rulePath)}</span>
</span>
<div className="flex items-center ml-2 space-x-2">
<div
Expand Down
12 changes: 9 additions & 3 deletions webview-ui/src/components/mcp/McpView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const McpView = ({ onDone, hideHeader = false }: McpViewProps) => {
marginTop: "10px",
width: "100%",
display: "grid",
gridTemplateColumns: "repeat(auto-fit, minmax(200px, 1fr))",
gridTemplateColumns: "repeat(auto-fit, minmax(260px, 1fr))",
gap: "10px",
}}>
<Button
Expand Down Expand Up @@ -299,8 +299,10 @@ const ServerRow = ({ server, alwaysAllowMcp }: { server: McpServer; alwaysAllowM
padding: "8px",
background: "var(--vscode-textCodeBlock-background)",
cursor: isExpandable ? "pointer" : "default",
borderRadius: isExpanded || isExpandable ? "4px" : "4px 4px 0 0",
borderRadius: isExpanded ? "4px 4px 0 0" : "4px",
opacity: server.disabled ? 0.6 : 1,
minWidth: "260px",
border: "none",
}}
onClick={handleRowClick}>
{isExpandable && (
Expand All @@ -309,7 +311,7 @@ const ServerRow = ({ server, alwaysAllowMcp }: { server: McpServer; alwaysAllowM
style={{ marginRight: "8px" }}
/>
)}
<span style={{ flex: 1 }}>
<span style={{ flex: 1, display: "flex", alignItems: "center" }}>
{server.name}
{server.source && (
<span
Expand Down Expand Up @@ -378,6 +380,8 @@ const ServerRow = ({ server, alwaysAllowMcp }: { server: McpServer; alwaysAllowM
padding: "0 10px 10px 10px",
fontSize: "13px",
borderRadius: "0 0 4px 4px",
border: "none",
minWidth: "260px",
}}>
{/* kilocode_change start: Replace VSCodePanels with Radix UI Tabs for independent tab overflow */}
<Tabs defaultValue="tools" style={{ marginBottom: "10px" }}>
Expand Down Expand Up @@ -476,6 +480,8 @@ const ServerRow = ({ server, alwaysAllowMcp }: { server: McpServer; alwaysAllowM
flexDirection: "column",
gap: "8px",
width: "100%",
overflowX: "auto",
scrollbarWidth: "thin",
}}>
{[...server.errorHistory]
.sort((a, b) => b.timestamp - a.timestamp)
Expand Down
Loading