diff options
| author | David Hill <[email protected]> | 2026-01-23 20:49:27 +0000 |
|---|---|---|
| committer | David Hill <[email protected]> | 2026-01-24 06:18:55 +0000 |
| commit | d3490cfd29c82d6d12a9b89d5568e79e226b8e9c (patch) | |
| tree | 59aaf0a2592e62634d2ada73d4ce8fd015ec6c52 /packages/app/src/components | |
| parent | 5384040051397c321d4163a4ac6031d1f6baf6df (diff) | |
| download | opencode-d3490cfd29c82d6d12a9b89d5568e79e226b8e9c.tar.gz opencode-d3490cfd29c82d6d12a9b89d5568e79e226b8e9c.zip | |
feat(ui): add close-small icon and use it for comment card dismiss button
Diffstat (limited to 'packages/app/src/components')
| -rw-r--r-- | packages/app/src/components/prompt-input.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index 3f137f862..d64eae5f7 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -1693,7 +1693,10 @@ export const PromptInput: Component<PromptInputProps> = (props) => { > <div class="flex items-center gap-1.5"> <FileIcon node={{ path: item.path, type: "file" }} class="shrink-0 size-3.5" /> - <div class="flex items-center text-11-regular min-w-0"> + <div + class="flex items-center text-11-regular min-w-0" + style={{ "font-weight": "var(--font-weight-medium)" }} + > <span class="text-text-weak whitespace-nowrap truncate min-w-0">{getDirectory(item.path)}</span> <span class="text-text-strong whitespace-nowrap">{getFilename(item.path)}</span> <Show when={item.selection}> @@ -1708,7 +1711,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => { </div> <IconButton type="button" - icon="close" + icon="close-small" variant="ghost" class="h-5 w-5 opacity-0 group-hover:opacity-100" onClick={(e) => { |
