Skip to content

The open source coding agent.

TypeScript

fix(app): make close comment button visible in prompt input (#12349)

Alex Yaroshukd160cca1792d
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx
index f40b61bca5e..9186dcfa3e0 100644
--- a/packages/app/src/components/prompt-input.tsx
+++ b/packages/app/src/components/prompt-input.tsx
@@ -1799,7 +1799,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
type="button"
icon="close-small"
variant="ghost"
- class="ml-auto size-3.5 opacity-0 group-hover:opacity-100 transition-all"
+ class="ml-auto size-3.5 text-text-weak hover:text-text-strong transition-all"
onClick={(e) => {
e.stopPropagation()
if (item.commentID) comments.remove(item.path, item.commentID)