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/history-context-menu-size.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"kilo-code": patch
---

Improve the size and readability of the local History session context menu.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const SessionList: Component<SessionListProps> = (props) => {
{node}
</ContextMenu.Trigger>
<ContextMenu.Portal>
<ContextMenu.Content>
<ContextMenu.Content class="session-list-menu">
<ContextMenu.Item onSelect={() => startRename(item)}>
<ContextMenu.ItemLabel>{language.t("common.rename")}</ContextMenu.ItemLabel>
</ContextMenu.Item>
Expand Down
20 changes: 20 additions & 0 deletions packages/kilo-vscode/webview-ui/src/styles/history.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,26 @@ body.vscode-light
opacity: 1;
}

.session-list-menu {
min-width: 180px;
border: 1px solid color-mix(in oklch, var(--border-base) 50%, transparent);
box-shadow: var(--shadow-md);

[data-slot="context-menu-item"] {
padding: 6px 10px;
line-height: var(--line-height-large);
transition: none;

&[data-highlighted] {
background: var(--surface-raised-base-hover);
}
}

[data-slot="context-menu-separator"] {
margin: 4px 0;
}
}

/* History View (unified Local + Cloud tabs) */
.history-view {
display: flex;
Expand Down
Loading