Skip to content

The open source coding agent.

TypeScript

fix(app): keep close icon in top right of comment card

David Hillc70e8b588036
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx
index d4515dfc94e..fec8a892edb 100644
--- a/packages/app/src/components/prompt-input.tsx
+++ b/packages/app/src/components/prompt-input.tsx
@@ -1694,7 +1694,7 @@ 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"
+ class="flex-1 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>